function MigrateLookupTest::setUp
Same name in other branches
- 9 core/modules/migrate/tests/src/Kernel/MigrateLookupTest.php \Drupal\Tests\migrate\Kernel\MigrateLookupTest::setUp()
- 10 core/modules/migrate/tests/src/Kernel/MigrateLookupTest.php \Drupal\Tests\migrate\Kernel\MigrateLookupTest::setUp()
- 11.x core/modules/migrate/tests/src/Kernel/MigrateLookupTest.php \Drupal\Tests\migrate\Kernel\MigrateLookupTest::setUp()
Overrides MigrateTestBase::setUp
File
-
core/
modules/ migrate/ tests/ src/ Kernel/ MigrateLookupTest.php, line 40
Class
- MigrateLookupTest
- Tests the Migrate Lookup service.
Namespace
Drupal\Tests\migrate\KernelCode
public function setUp() {
parent::setUp();
$this->setTestLogger();
$this->migrateLookup = $this->container
->get('migrate.lookup');
$this->installEntitySchema('node');
$this->installEntitySchema('user');
$this->installConfig([
'node',
'user',
]);
$this->createContentType([
'type' => 'node_lookup',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.