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. 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() {
    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.