protected function ForumBlockTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/forum/tests/src/Functional/ForumBlockTest.php \Drupal\Tests\forum\Functional\ForumBlockTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ forum/ tests/ src/ Functional/ ForumBlockTest.php, line 34
Class
- ForumBlockTest
- Tests the forum blocks.
Namespace
Drupal\Tests\forum\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Create users.
$this->adminUser = $this
->drupalCreateUser([
'access administration pages',
'administer blocks',
'administer nodes',
'create forum content',
'post comments',
'skip comment approval',
]);
}