function HelpPageOrderTest::setUp

Same name in other branches
  1. 8.9.x core/modules/help/tests/src/Functional/HelpPageOrderTest.php \Drupal\Tests\help\Functional\HelpPageOrderTest::setUp()
  2. 10 core/modules/help/tests/src/Functional/HelpPageOrderTest.php \Drupal\Tests\help\Functional\HelpPageOrderTest::setUp()
  3. 11.x 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 37

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 administration pages',
        'view the administration theme',
        'administer permissions',
        'access tour',
    ]);
    $this->drupalLogin($account);
}

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