You are here

protected function MigrateTrackerUserTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/tracker/src/Tests/Migrate/d7/MigrateTrackerUserTest.php \Drupal\tracker\Tests\Migrate\d7\MigrateTrackerUserTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/tracker/src/Tests/Migrate/d7/MigrateTrackerUserTest.php, line 32
Contains \Drupal\tracker\Tests\Migrate\d7\MigrateTrackerUserTest.

Class

MigrateTrackerUserTest
Tests migration of tracker_user.

Namespace

Drupal\tracker\Tests\Migrate\d7

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('node');
  $this
    ->installConfig(static::$modules);
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  $this
    ->installSchema('tracker', [
    'tracker_node',
    'tracker_user',
  ]);
  $this
    ->executeMigrations([
    'd7_user_role',
    'd7_user',
    'd7_node_type',
    'd7_node__test_content_type',
    'd7_tracker_node',
  ]);
}