function SqlBaseTest::setUp
Same name in this branch
- 10 core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php \Drupal\Tests\views\Unit\Plugin\pager\SqlBaseTest::setUp()
Same name in other branches
- 9 core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php \Drupal\Tests\views\Unit\Plugin\pager\SqlBaseTest::setUp()
- 9 core/modules/migrate/tests/src/Kernel/SqlBaseTest.php \Drupal\Tests\migrate\Kernel\SqlBaseTest::setUp()
- 8.9.x core/modules/migrate/tests/src/Kernel/SqlBaseTest.php \Drupal\Tests\migrate\Kernel\SqlBaseTest::setUp()
- 11.x core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php \Drupal\Tests\views\Unit\Plugin\pager\SqlBaseTest::setUp()
- 11.x core/modules/migrate/tests/src/Kernel/SqlBaseTest.php \Drupal\Tests\migrate\Kernel\SqlBaseTest::setUp()
Overrides MigrateTestBase::setUp
File
-
core/
modules/ migrate/ tests/ src/ Kernel/ SqlBaseTest.php, line 32
Class
- SqlBaseTest
- Tests the functionality of SqlBase.
Namespace
Drupal\Tests\migrate\KernelCode
protected function setUp() : void {
parent::setUp();
$this->migration = $this->createMock(MigrationInterface::class);
$this->migration
->method('id')
->willReturn('foo');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.