You are here

protected function CommentBaseFieldTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/comment/tests/src/Kernel/CommentBaseFieldTest.php \Drupal\Tests\comment\Kernel\CommentBaseFieldTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/comment/tests/src/Kernel/CommentBaseFieldTest.php, line 29

Class

CommentBaseFieldTest
Tests that comment as a base field.

Namespace

Drupal\Tests\comment\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('comment_test_base_field');
  $this
    ->installEntitySchema('comment');
  $this
    ->installSchema('system', [
    'sequences',
  ]);
  $this
    ->installEntitySchema('user');
}