function DatabaseDriverProvidedByModuleTest::setUp

Same name in other branches
  1. 9 core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php \Drupal\Tests\system\Functional\System\DatabaseDriverProvidedByModuleTest::setUp()
  2. 11.x core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php \Drupal\Tests\system\Functional\System\DatabaseDriverProvidedByModuleTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php, line 25

Class

DatabaseDriverProvidedByModuleTest
Tests output on the status overview page.

Namespace

Drupal\Tests\system\Functional\System

Code

protected function setUp() : void {
    parent::setUp();
    $admin_user = $this->drupalCreateUser([
        'administer site configuration',
    ]);
    $this->drupalLogin($admin_user);
}

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