function PasswordWidgetThemeFunctionTest::setUp

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.