You are here

protected function MigrateUserConfigsTranslationTest::setUp in Drupal 9

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

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/config_translation/tests/src/Kernel/Migrate/d7/MigrateUserConfigsTranslationTest.php, line 29

Class

MigrateUserConfigsTranslationTest
Test migration of i18n user variables.

Namespace

Drupal\Tests\config_translation\Kernel\Migrate\d7

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installSchema('locale', [
    'locales_source',
    'locales_target',
    'locales_location',
  ]);
  $this
    ->executeMigrations([
    'language',
    'd7_user_mail',
    'd7_user_settings',
    'd7_user_mail_translation',
    'd7_user_settings_translation',
  ]);
}