You are here

protected function KeyAuthTest::setUp in Key auth 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/KeyAuthTest.php, line 48

Class

KeyAuthTest
Tests for key authentication provider.

Namespace

Drupal\Tests\key_auth\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->keyAuth = $this->container
    ->get('key_auth');
  $this->keyAuthConfig = $this
    ->config('key_auth.settings');
  $this->userStorage = $this->container
    ->get('entity_type.manager')
    ->getStorage('user');
}