function MigrateMessageControllerTest::setUp

Same name in other branches
  1. 11.x core/modules/migrate_drupal_ui/tests/src/Functional/MigrateMessageControllerTest.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateMessageControllerTest::setUp()

Overrides MigrateUpgradeTestBase::setUp

File

core/modules/migrate_drupal_ui/tests/src/Functional/MigrateMessageControllerTest.php, line 50

Class

MigrateMessageControllerTest
Tests for the MigrateController class.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional

Code

protected function setUp() : void {
    parent::setUp();
    // Migrations that access the source database in fields().
    $this->migrationIds = [
        'd6_menu',
        'd6_menu_links',
        'd6_profile_values',
        'd6_user',
        'd7_menu',
        'd7_menu_links',
        'd7_menu_test',
        'd7_user',
    ];
    $user = $this->createUser([
        'view migration messages',
    ]);
    $this->drupalLogin($user);
    $this->database = \Drupal::database();
}

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