You are here

protected function CommentFieldAccessTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 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\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installConfig([
    'user',
    'comment',
  ]);
  $this
    ->installSchema('comment', [
    'comment_entity_statistics',
  ]);
}