You are here

protected function CommentFieldAccessTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/Tests/CommentFieldAccessTest.php \Drupal\comment\Tests\CommentFieldAccessTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides EntityUnitTestBase::setUp

File

core/modules/comment/src/Tests/CommentFieldAccessTest.php, line 88
Contains \Drupal\comment\Tests\CommentFieldAccessTest.

Class

CommentFieldAccessTest
Tests comment field level access.

Namespace

Drupal\comment\Tests

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig(array(
    'user',
    'comment',
  ));
  $this
    ->installSchema('comment', array(
    'comment_entity_statistics',
  ));
}