You are here

protected function CommentItemTest::setUp in Zircon Profile 8

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

Set the default field storage backend for fields created during tests.

Overrides FieldUnitTestBase::setUp

File

core/modules/comment/src/Tests/CommentItemTest.php, line 30
Contains \Drupal\comment\Tests\CommentItemTest.

Class

CommentItemTest
Tests the new entity API for the comment field type.

Namespace

Drupal\comment\Tests

Code

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