function CommentItemTest::setUp
Same name in other branches
- 9 core/modules/comment/tests/src/Kernel/CommentItemTest.php \Drupal\Tests\comment\Kernel\CommentItemTest::setUp()
- 8.9.x core/modules/comment/tests/src/Kernel/CommentItemTest.php \Drupal\Tests\comment\Kernel\CommentItemTest::setUp()
- 11.x core/modules/comment/tests/src/Kernel/CommentItemTest.php \Drupal\Tests\comment\Kernel\CommentItemTest::setUp()
Overrides FieldKernelTestBase::setUp
File
-
core/
modules/ comment/ tests/ src/ Kernel/ CommentItemTest.php, line 31
Class
- CommentItemTest
- Tests the new entity API for the comment field type.
Namespace
Drupal\Tests\comment\KernelCode
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('comment');
$this->installSchema('comment', [
'comment_entity_statistics',
]);
$this->installConfig([
'comment',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.