You are here

protected function MigrateUserRoleTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/user/src/Tests/Migrate/d7/MigrateUserRoleTest.php, line 25
Contains \Drupal\user\Tests\Migrate\d7\MigrateUserRoleTest.

Class

MigrateUserRoleTest
Upgrade user roles to user.role.*.yml.

Namespace

Drupal\user\Tests\Migrate\d7

Code

protected function setUp() {
  parent::setUp();
  $this
    ->executeMigration('d7_user_role');
}