You are here

protected function CommentTypeTest::setUp in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/comment/src/Tests/CommentTypeTest.php \Drupal\comment\Tests\CommentTypeTest::setUp()
  2. 8 core/modules/comment/tests/src/Unit/Migrate/d7/CommentTypeTest.php \Drupal\Tests\comment\Unit\Migrate\d7\CommentTypeTest::setUp()
Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/Tests/CommentTypeTest.php \Drupal\comment\Tests\CommentTypeTest::setUp()

Sets the test up.

Overrides CommentTestBase::setUp

File

core/modules/comment/src/Tests/CommentTypeTest.php, line 44
Contains \Drupal\comment\Tests\CommentTypeTest.

Class

CommentTypeTest
Ensures that comment type functions work correctly.

Namespace

Drupal\comment\Tests

Code

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