function 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\d7

Code

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',
  ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.