You are here

protected function KeyOverrideAdminTest::setUp in Key 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/KeyOverrideAdminTest.php, line 26

Class

KeyOverrideAdminTest
Tests administration of key overrides.

Namespace

Drupal\Tests\key\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->createTestKey('key_foo');
  $this
    ->createTestKeyConfigOverride('test_override', 'key_foo');
  $this->overrideUser = $this
    ->drupalCreateUser([
    'administer key configuration overrides',
  ]);
}