You are here

protected function GenpassTest::setUp in Generate Password 8

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/GenpassTest.php, line 45

Class

GenpassTest
Tests Generate Password .

Namespace

Drupal\Tests\genpass\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $permissions = [
    'access toolbar',
    'view the administration theme',
    'administer account settings',
    'administer users',
  ];
  $this->webUser = $this
    ->drupalCreateUser($permissions);
  $this
    ->drupalLogin($this->webUser);
}