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\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
$this->assert = $this
->assertSession();
// Create a user.
$this->testUser = $this
->createUser();
$this
->drupalLogin($this->testUser);
}