function HelpTest::setUp
Same name in other branches
- 9 core/modules/help/tests/src/Functional/HelpTest.php \Drupal\Tests\help\Functional\HelpTest::setUp()
- 10 core/modules/help/tests/src/Functional/HelpTest.php \Drupal\Tests\help\Functional\HelpTest::setUp()
- 11.x core/modules/help/tests/src/Functional/HelpTest.php \Drupal\Tests\help\Functional\HelpTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ help/ tests/ src/ Functional/ HelpTest.php, line 48
Class
- HelpTest
- Verify help display and user access to help based on permissions.
Namespace
Drupal\Tests\help\FunctionalCode
protected function setUp() {
parent::setUp();
// Create users.
$this->adminUser = $this->drupalCreateUser([
'access administration pages',
'view the administration theme',
'administer permissions',
]);
$this->anyUser = $this->drupalCreateUser([]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.