function CommentValidationTest::setUp
Same name in other branches
- 9 core/modules/comment/tests/src/Kernel/CommentValidationTest.php \Drupal\Tests\comment\Kernel\CommentValidationTest::setUp()
- 8.9.x core/modules/comment/tests/src/Kernel/CommentValidationTest.php \Drupal\Tests\comment\Kernel\CommentValidationTest::setUp()
- 11.x core/modules/comment/tests/src/Kernel/CommentValidationTest.php \Drupal\Tests\comment\Kernel\CommentValidationTest::setUp()
Overrides EntityKernelTestBase::setUp
File
-
core/
modules/ comment/ tests/ src/ Kernel/ CommentValidationTest.php, line 33
Class
- CommentValidationTest
- Tests comment validation constraints.
Namespace
Drupal\Tests\comment\KernelCode
protected function setUp() : void {
parent::setUp();
$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.