You are here

protected function PasswordConfirmWidgetTest::setUp in Drupal 9

Overrides BrowserTestBase::setUp

File

core/modules/user/tests/src/FunctionalJavascript/PasswordConfirmWidgetTest.php, line 36

Class

PasswordConfirmWidgetTest
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);
}