You are here

protected function RegistrationWithUserFieldsTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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();
}