You are here

protected function NoHelpTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/help/tests/src/Functional/NoHelpTest.php \Drupal\Tests\help\Functional\NoHelpTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/help/tests/src/Functional/NoHelpTest.php, line 33

Class

NoHelpTest
Verify no help is displayed for modules not providing any help.

Namespace

Drupal\Tests\help\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser([
    'access administration pages',
  ]);
}