You are here

protected function KeyNonAdminAccessTest::setUp in Key 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/KeyNonAdminAccessTest.php, line 38

Class

KeyNonAdminAccessTest
Tests access for non-admin users.

Namespace

Drupal\Tests\key\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->createTestKey('key_foo');
  $this
    ->createTestKeyConfigOverride('test_override', 'key_foo');
  $this->authenticatedUser = $this
    ->drupalCreateUser();
}