function CommentBaseFieldTest::setUp
Same name in other branches
- 8.9.x core/modules/comment/tests/src/Kernel/CommentBaseFieldTest.php \Drupal\Tests\comment\Kernel\CommentBaseFieldTest::setUp()
- 10 core/modules/comment/tests/src/Kernel/CommentBaseFieldTest.php \Drupal\Tests\comment\Kernel\CommentBaseFieldTest::setUp()
- 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 32
Class
- CommentBaseFieldTest
- Tests that comment as a base field.
Namespace
Drupal\Tests\comment\KernelCode
protected function setUp() : void {
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.