function MigrateUserConfigsTranslationTest::setUp

Same name in this branch
  1. 8.9.x core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTranslationTest.php \Drupal\Tests\config_translation\Kernel\Migrate\d6\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. 10 core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTranslationTest.php \Drupal\Tests\config_translation\Kernel\Migrate\d6\MigrateUserConfigsTranslationTest::setUp()
  4. 10 core/modules/config_translation/tests/src/Kernel/Migrate/d7/MigrateUserConfigsTranslationTest.php \Drupal\Tests\config_translation\Kernel\Migrate\d7\MigrateUserConfigsTranslationTest::setUp()
  5. 11.x core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTranslationTest.php \Drupal\Tests\config_translation\Kernel\Migrate\d6\MigrateUserConfigsTranslationTest::setUp()
  6. 11.x 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() {
    parent::setUp();
    $this->installSchema('locale', [
        'locales_source',
        'locales_target',
        'locales_location',
    ]);
    $this->executeMigrations([
        'd7_user_mail_translation',
        'd7_user_settings_translation',
    ]);
}

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