You are here

protected property CommentTestBase::$comment in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::comment
  2. 10 core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::comment

Stores a comment used by the tests.

Type: \Drupal\comment\Entity\Comment

File

core/modules/comment/tests/src/Functional/Views/CommentTestBase.php, line 57

Class

CommentTestBase
Provides setup and helper methods for comment views tests.

Namespace

Drupal\Tests\comment\Functional\Views

Code

protected $comment;