protected function MigrateUserTest::setUp in Zircon Profile 8
Same name in this branch
- 8 core/modules/user/src/Tests/Migrate/d6/MigrateUserTest.php \Drupal\user\Tests\Migrate\d6\MigrateUserTest::setUp()
- 8 core/modules/user/src/Tests/Migrate/d7/MigrateUserTest.php \Drupal\user\Tests\Migrate\d7\MigrateUserTest::setUp()
Same name and namespace in other branches
- 8.0 core/modules/user/src/Tests/Migrate/d7/MigrateUserTest.php \Drupal\user\Tests\Migrate\d7\MigrateUserTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides MigrateDrupal7TestBase::setUp
File
- core/
modules/ user/ src/ Tests/ Migrate/ d7/ MigrateUserTest.php, line 30 - Contains \Drupal\user\Tests\Migrate\d7\MigrateUserTest.
Class
- MigrateUserTest
- Users migration.
Namespace
Drupal\user\Tests\Migrate\d7Code
protected function setUp() {
parent::setUp();
// Prepare to migrate user pictures as well.
$this
->installEntitySchema('file');
$this
->executeMigrations([
'user_picture_field',
'user_picture_field_instance',
'd7_user_role',
'd7_user',
]);
}