You are here

protected function HstsTest::setUp in HTTP Strict Transport Security 8

Overrides WebTestBase::setUp().

Overrides RESTTestBase::setUp

File

src/Tests/HstsTest.php, line 28
Definition of Drupal\hsts\Tests\HstsTest.

Class

HstsTest
HSTS tests.

Namespace

Drupal\hsts\Tests

Code

protected function setUp() {
  parent::setUp();
  $this->web_user = $this
    ->drupalCreateUser([
    'administer hsts',
  ]);
  $this
    ->drupalLogin($this->web_user);
}