function HelpPageOrderTest::setUp

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

Overrides BrowserTestBase::setUp

File

core/modules/help/tests/src/Functional/HelpPageOrderTest.php, line 39

Class

HelpPageOrderTest
Verify the order of the help page.

Namespace

Drupal\Tests\help\Functional

Code

protected function setUp() : void {
    parent::setUp();
    // Create and log in user.
    $account = $this->drupalCreateUser([
        'access help pages',
        'view the administration theme',
        'administer permissions',
    ]);
    $this->drupalLogin($account);
}

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