You are here

protected function PasswordWidgetThemeFunctionTest::setUp in Drupal 9

Overrides BrowserTestBase::setUp

File

core/modules/user/tests/src/FunctionalJavascript/PasswordWidgetThemeFunctionTest.php, line 40

Class

PasswordWidgetThemeFunctionTest
Tests the JS components added to the PasswordConfirm render element.

Namespace

Drupal\Tests\user\FunctionalJavascript

Code

protected function setUp() : void {
  parent::setUp();
  $this->assert = $this
    ->assertSession();

  // Create a user.
  $this->testUser = $this
    ->createUser();
  $this
    ->drupalLogin($this->testUser);
}