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. 8.9.x core/modules/comment/tests/src/Kernel/CommentBaseFieldTest.php \Drupal\Tests\comment\Kernel\CommentBaseFieldTest::setUp()
  3. 10 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 34

Class

CommentBaseFieldTest
Tests that comment as a base field.

Namespace

Drupal\Tests\comment\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('comment_test_base_field');
    $this->installEntitySchema('comment');
    $this->installEntitySchema('user');
}

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