You are here

protected function MigrateFieldInstanceOptionTranslationTest::setUp in Drupal 9

Same name in this branch
  1. 9 core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceOptionTranslationTest.php \Drupal\Tests\field\Kernel\Migrate\d6\MigrateFieldInstanceOptionTranslationTest::setUp()
  2. 9 core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceOptionTranslationTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateFieldInstanceOptionTranslationTest::setUp()

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceOptionTranslationTest.php, line 37

Class

MigrateFieldInstanceOptionTranslationTest
Migrate field instance option translations.

Namespace

Drupal\Tests\field\Kernel\Migrate\d7

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installConfig([
    'node',
  ]);
  $this
    ->executeMigration('language');
  $this
    ->migrateFields();
  $this
    ->executeMigrations([
    'd7_field_option_translation',
    'd7_field_instance_option_translation',
  ]);
}