protected function HelpTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 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([]);
}