protected function MigrateEckTest::setUp in Entity Construction Kit (ECK) 8
Overrides MigrateEckTestBase::setUp
File
- tests/
src/ Kernel/ Migrate/ d7/ MigrateEckTest.php, line 32
Class
- MigrateEckTest
- Tests migration of ECK entities.
Namespace
Drupal\Tests\eck\Kernel\Migrate\d7Code
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('node');
$this
->installConfig(static::$modules);
$this
->installSchema('node', [
'node_access',
]);
$this
->installSchema('system', [
'sequences',
]);
$this
->fileMigrationSetup();
$this
->executeMigrations([
'language',
'default_language',
'd7_eck_type',
'd7_eck_bundle',
'd7_comment_type',
]);
$this
->migrateFields();
$this
->executeMigrations([
'd7_eck',
'd7_eck_translation',
]);
}