protected function ForumIndexTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/forum/tests/src/Functional/ForumIndexTest.php \Drupal\Tests\forum\Functional\ForumIndexTest::setUp()
- 10 core/modules/forum/tests/src/Functional/ForumIndexTest.php \Drupal\Tests\forum\Functional\ForumIndexTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ forum/ tests/ src/ Functional/ ForumIndexTest.php, line 26
Class
- ForumIndexTest
- Tests the forum index listing.
Namespace
Drupal\Tests\forum\FunctionalCode
protected function setUp() {
parent::setUp();
// Create a test user.
$web_user = $this
->drupalCreateUser([
'create forum content',
'edit own forum content',
'edit any forum content',
'administer nodes',
'administer forums',
]);
$this
->drupalLogin($web_user);
}