ResourceTest::$modules

Same name in other branches
  1. 8.9.x core/modules/rest/tests/src/Functional/ResourceTest.php \Drupal\Tests\rest\Functional\ResourceTest::modules
  2. 10 core/modules/rest/tests/src/Functional/ResourceTest.php \Drupal\Tests\rest\Functional\ResourceTest::modules
  3. 11.x core/modules/rest/tests/src/Functional/ResourceTest.php \Drupal\Tests\rest\Functional\ResourceTest::modules

Modules to install.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/rest/tests/src/Functional/ResourceTest.php, line 26

Class

ResourceTest
Tests the structure of a REST resource.

Namespace

Drupal\Tests\rest\Functional

Code

protected static $modules = [
    'rest',
    'entity_test',
    'rest_test',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.