You are here

public function LoginSecurityInterfaceTest::setUp in Login Security 2.x

Overrides LoginSecurityTestBase::setUp

File

tests/src/Functional/LoginSecurityInterfaceTest.php, line 21

Class

LoginSecurityInterfaceTest
Test Login Security's web interface.

Namespace

Drupal\Tests\login_security\Functional

Code

public function setUp() {
  parent::setUp();

  // Create and login user.
  $admin_user = $this
    ->drupalCreateUser([
    'administer site configuration',
  ]);
  $this
    ->drupalLogin($admin_user);
}