function MigrateMessageTestBase::setUp

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

Overrides BrowserTestBase::setUp

File

core/modules/migrate/tests/src/Functional/MigrateMessageTestBase.php, line 48

Class

MigrateMessageTestBase
Provides base class for testing migrate messages.

Namespace

Drupal\Tests\migrate\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $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.