protected function CommentFieldAccessTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php \Drupal\Tests\comment\Kernel\CommentFieldAccessTest::setUp()
Overrides EntityKernelTestBase::setUp
File
- core/modules/ comment/ tests/ src/ Kernel/ CommentFieldAccessTest.php, line 87 
Class
- CommentFieldAccessTest
- Tests comment field level access.
Namespace
Drupal\Tests\comment\KernelCode
protected function setUp() : void {
  parent::setUp();
  $this
    ->installConfig([
    'user',
    'comment',
  ]);
  $this
    ->installSchema('comment', [
    'comment_entity_statistics',
  ]);
}