function 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 help pages',
    'view the administration theme',
  ]);
}

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