You are here

protected function CommentValidationTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides EntityUnitTestBase::setUp

File

core/modules/comment/src/Tests/CommentValidationTest.php, line 32
Contains \Drupal\comment\Tests\CommentValidationTest.

Class

CommentValidationTest
Tests comment validation constraints.

Namespace

Drupal\comment\Tests

Code

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