function FieldHelpTest::setUp

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

Overrides BrowserTestBase::setUp

File

core/modules/field/tests/src/Functional/FieldHelpTest.php, line 34

Class

FieldHelpTest
Tests help display for the Field module.

Namespace

Drupal\Tests\field\Functional

Code

protected function setUp() : void {
    parent::setUp();
    // Create the admin user.
    $this->adminUser = $this->drupalCreateUser([
        'access administration pages',
        'view the administration theme',
    ]);
}

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