You are here

protected function UserRegistrationPasswordAdmin::setUp in User registration password 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/UserRegistrationPasswordAdmin.php, line 45

Class

UserRegistrationPasswordAdmin
Functionality tests for User registration password module.

Namespace

Drupal\Tests\user_registrationpassword\Functional

Code

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

  // User to add and remove language.
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer account settings',
    'administer users',
  ]);

  // User to check non-admin access.
  // @todo This user is not used in the test.
  $this->regularUser = $this
    ->drupalCreateUser();
}