function RegistrationWithUserFieldsTest::setUp

Same name in other branches
  1. 8.9.x core/modules/user/tests/src/FunctionalJavascript/RegistrationWithUserFieldsTest.php \Drupal\Tests\user\FunctionalJavascript\RegistrationWithUserFieldsTest::setUp()
  2. 10 core/modules/user/tests/src/FunctionalJavascript/RegistrationWithUserFieldsTest.php \Drupal\Tests\user\FunctionalJavascript\RegistrationWithUserFieldsTest::setUp()
  3. 11.x core/modules/user/tests/src/FunctionalJavascript/RegistrationWithUserFieldsTest.php \Drupal\Tests\user\FunctionalJavascript\RegistrationWithUserFieldsTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/user/tests/src/FunctionalJavascript/RegistrationWithUserFieldsTest.php, line 44

Class

RegistrationWithUserFieldsTest
Tests user registration forms with additional fields.

Namespace

Drupal\Tests\user\FunctionalJavascript

Code

protected function setUp() : void {
    parent::setUp();
    $this->page = $this->getSession()
        ->getPage();
    $this->webAssert = $this->assertSession();
}

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