function ConfigAccessTest::setUp

Same name in other branches
  1. 8.9.x core/modules/settings_tray/tests/src/FunctionalJavascript/ConfigAccessTest.php \Drupal\Tests\settings_tray\FunctionalJavascript\ConfigAccessTest::setUp()
  2. 10 core/modules/settings_tray/tests/src/FunctionalJavascript/ConfigAccessTest.php \Drupal\Tests\settings_tray\FunctionalJavascript\ConfigAccessTest::setUp()
  3. 11.x core/modules/settings_tray/tests/src/FunctionalJavascript/ConfigAccessTest.php \Drupal\Tests\settings_tray\FunctionalJavascript\ConfigAccessTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/settings_tray/tests/src/FunctionalJavascript/ConfigAccessTest.php, line 31

Class

ConfigAccessTest
Tests handling of configuration overrides.

Namespace

Drupal\Tests\settings_tray\FunctionalJavascript

Code

protected function setUp() : void {
    parent::setUp();
    $user = $this->createUser([
        'administer blocks',
        'access contextual links',
        'access toolbar',
    ]);
    $this->drupalLogin($user);
}

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