You are here

protected function UserRegistrationPasswordAccountSettingFormTest::setUp in User registration password 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/UserRegistrationPasswordAccountSettingFormTest.php, line 37

Class

UserRegistrationPasswordAccountSettingFormTest
Functionality tests for User registration password module: admin form.

Namespace

Drupal\Tests\user_registrationpassword\Functional

Code

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