You are here

protected function ForumBlockTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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\Functional

Code

protected function setUp() {
  parent::setUp();

  // Create users.
  $this->adminUser = $this
    ->drupalCreateUser([
    'access administration pages',
    'administer blocks',
    'administer nodes',
    'create forum content',
    'post comments',
    'skip comment approval',
  ]);
}