You are here

protected function MigrateUserTest::setUp in Drupal 10

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

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserTest.php, line 39

Class

MigrateUserTest
Users migration.

Namespace

Drupal\Tests\user\Kernel\Migrate\d7

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('comment');
  $this
    ->installEntitySchema('taxonomy_term');
  $this
    ->executeMigration('language');
  $this
    ->migrateFields();
  $this
    ->migrateUsers();
  $this
    ->executeMigrations([
    'd7_entity_translation_settings',
    'd7_user_entity_translation',
  ]);
}