function MigrateUserConfigsTranslationTest::setUp

Same name in this branch
  1. 11.x core/modules/config_translation/tests/src/Kernel/Migrate/d7/MigrateUserConfigsTranslationTest.php \Drupal\Tests\config_translation\Kernel\Migrate\d7\MigrateUserConfigsTranslationTest::setUp()
Same name in other branches
  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()
  3. 8.9.x core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTranslationTest.php \Drupal\Tests\config_translation\Kernel\Migrate\d6\MigrateUserConfigsTranslationTest::setUp()
  4. 8.9.x core/modules/config_translation/tests/src/Kernel/Migrate/d7/MigrateUserConfigsTranslationTest.php \Drupal\Tests\config_translation\Kernel\Migrate\d7\MigrateUserConfigsTranslationTest::setUp()
  5. 10 core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTranslationTest.php \Drupal\Tests\config_translation\Kernel\Migrate\d6\MigrateUserConfigsTranslationTest::setUp()
  6. 10 core/modules/config_translation/tests/src/Kernel/Migrate/d7/MigrateUserConfigsTranslationTest.php \Drupal\Tests\config_translation\Kernel\Migrate\d7\MigrateUserConfigsTranslationTest::setUp()

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTranslationTest.php, line 31

Class

MigrateUserConfigsTranslationTest
Upgrade i18n variables to user.*.yml.

Namespace

Drupal\Tests\config_translation\Kernel\Migrate\d6

Code

protected function setUp() : void {
    parent::setUp();
    $this->installSchema('locale', [
        'locales_source',
        'locales_target',
        'locales_location',
    ]);
    $this->executeMigrations([
        'language',
        'd6_user_mail',
        'd6_user_settings',
        'd6_user_mail_translation',
        'd6_user_settings_translation',
    ]);
}

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