protected function MigrateTermLocalizedTranslationTest::setUp in Drupal 9
Same name in this branch
- 9 core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermLocalizedTranslationTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTermLocalizedTranslationTest::setUp()
- 9 core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTermLocalizedTranslationTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d7\MigrateTermLocalizedTranslationTest::setUp()
Same name and namespace in other branches
- 8 core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTermLocalizedTranslationTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d7\MigrateTermLocalizedTranslationTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
- core/
modules/ taxonomy/ tests/ src/ Kernel/ Migrate/ d7/ MigrateTermLocalizedTranslationTest.php, line 36
Class
- MigrateTermLocalizedTranslationTest
- Tests migration of localized translated taxonomy terms.
Namespace
Drupal\Tests\taxonomy\Kernel\Migrate\d7Code
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('taxonomy_term');
$this
->installConfig(static::$modules);
$this
->executeMigrations([
'language',
'd7_taxonomy_vocabulary',
'd7_taxonomy_term',
'd7_taxonomy_term_localized_translation',
]);
}