You are here

protected function MigrateLanguageContentSettingsTest::setUp in Drupal 9

Same name in this branch
  1. 9 core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentSettingsTest.php \Drupal\Tests\language\Kernel\Migrate\d6\MigrateLanguageContentSettingsTest::setUp()
  2. 9 core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentSettingsTest.php \Drupal\Tests\language\Kernel\Migrate\d7\MigrateLanguageContentSettingsTest::setUp()
Same name and namespace in other branches
  1. 8 core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentSettingsTest.php \Drupal\Tests\language\Kernel\Migrate\d6\MigrateLanguageContentSettingsTest::setUp()

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentSettingsTest.php, line 30

Class

MigrateLanguageContentSettingsTest
Tests migration of language content setting variables, language_content_type_$type, i18n_node_options_* and i18n_lock_node_*.

Namespace

Drupal\Tests\language\Kernel\Migrate\d6

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installConfig([
    'node',
  ]);
  $this
    ->installEntitySchema('node');
  $this
    ->executeMigrations([
    'language',
    'd6_node_type',
    'd6_language_content_settings',
  ]);
}