You are here

protected function HelpPageOrderTest::setUp in Drupal 9

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