public static property RequestTestRest::$modules in OpenAPI for REST 8.2
Modules to enable.
The test runner will merge the $modules lists from this class, the class it extends, and so on up the class hierarchy. It is not necessary to include modules in your list that a parent class has already declared.
Type: string[]
Overrides RequestTestBase::$modules
See also
\Drupal\Tests\BrowserTestBase::installDrupal()
File
- tests/
src/ Functional/ RequestTestRest.php, line 24
Class
- RequestTestRest
- REST tests for requests on OpenAPI routes.
Namespace
Drupal\Tests\openapi_rest\FunctionalCode
public static $modules = [
'user',
'field',
'filter',
'text',
'taxonomy',
'serialization',
'hal',
'schemata',
'schemata_json_schema',
'openapi',
'rest',
'openapi_test',
];