You are here

protected function CommentTypeTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/comment/tests/src/Functional/CommentTypeTest.php \Drupal\Tests\comment\Functional\CommentTypeTest::setUp()
  2. 10 core/modules/comment/tests/src/Functional/CommentTypeTest.php \Drupal\Tests\comment\Functional\CommentTypeTest::setUp()

Sets the test up.

Overrides CommentTestBase::setUp

File

core/modules/comment/tests/src/Functional/CommentTypeTest.php, line 46

Class

CommentTypeTest
Ensures that comment type functions work correctly.

Namespace

Drupal\Tests\comment\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->drupalPlaceBlock('page_title_block');
  $this->adminUser = $this
    ->drupalCreateUser($this->permissions);
}