function CommentOrphanTest::setUp
Same name in other branches
- 8.9.x core/modules/comment/tests/src/Kernel/CommentOrphanTest.php \Drupal\Tests\comment\Kernel\CommentOrphanTest::setUp()
- 10 core/modules/comment/tests/src/Kernel/CommentOrphanTest.php \Drupal\Tests\comment\Kernel\CommentOrphanTest::setUp()
- 11.x core/modules/comment/tests/src/Kernel/CommentOrphanTest.php \Drupal\Tests\comment\Kernel\CommentOrphanTest::setUp()
Overrides EntityKernelTestBase::setUp
File
-
core/
modules/ comment/ tests/ src/ Kernel/ CommentOrphanTest.php, line 27
Class
- CommentOrphanTest
- Tests loading and rendering orphan comments.
Namespace
Drupal\Tests\comment\KernelCode
protected function setUp() : void {
parent::setUp();
$this->installConfig([
'user',
]);
$this->installEntitySchema('date_format');
$this->installEntitySchema('comment');
$this->installSchema('comment', [
'comment_entity_statistics',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.