You are here

protected function ConfigAccessTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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() {
  parent::setUp();
  $user = $this
    ->createUser([
    'administer blocks',
    'access contextual links',
    'access toolbar',
  ]);
  $this
    ->drupalLogin($user);
}