function CommentBaseFieldTest::setUp

Same name and namespace in other branches
  1. 9 core/modules/comment/tests/src/Kernel/CommentBaseFieldTest.php \Drupal\Tests\comment\Kernel\CommentBaseFieldTest::setUp()
  2. 10 core/modules/comment/tests/src/Kernel/CommentBaseFieldTest.php \Drupal\Tests\comment\Kernel\CommentBaseFieldTest::setUp()
  3. 11.x 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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.