protected function MigrateTermNodeTranslationTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeTranslationTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTermNodeTranslationTest::setUp()
- 9 core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeTranslationTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTermNodeTranslationTest::setUp()
Overrides MigrateDrupal6TestBase::setUp
File
- core/
modules/ taxonomy/ tests/ src/ Kernel/ Migrate/ d6/ MigrateTermNodeTranslationTest.php, line 30
Class
- MigrateTermNodeTranslationTest
- Upgrade taxonomy term node associations.
Namespace
Drupal\Tests\taxonomy\Kernel\Migrate\d6Code
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('node');
$this
->installConfig([
'node',
]);
$this
->installSchema('node', [
'node_access',
]);
$this
->installSchema('system', [
'sequences',
]);
$this
->executeMigration('language');
$this
->executeMigration('d6_node_settings');
$this
->migrateUsers(FALSE);
$this
->migrateFields();
$this
->migrateTaxonomy();
$this
->migrateContent([
'translations',
]);
// This is a base plugin id and we want to run all derivatives.
$this
->executeMigrations([
'd6_term_node',
'd6_term_node_translation',
]);
}