public function MigrateLookupTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 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',
]);
}