function RegistrationWithUserFieldsTest::setUp

Same name in other branches
  1. 9 core/modules/user/tests/src/FunctionalJavascript/RegistrationWithUserFieldsTest.php \Drupal\Tests\user\FunctionalJavascript\RegistrationWithUserFieldsTest::setUp()
  2. 8.9.x 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 46

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.