You are here

protected static property CommentStringIdEntitiesTest::$modules in Drupal 9

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

Modules to install.

Type: array

Overrides KernelTestBase::$modules

File

core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php, line 21

Class

CommentStringIdEntitiesTest
Tests that comment fields cannot be added to entities with non-integer IDs.

Namespace

Drupal\Tests\comment\Kernel

Code

protected static $modules = [
  'comment',
  'user',
  'field',
  'field_ui',
  'entity_test',
  'text',
];