protected static property CorsIntegrationTest::$modules in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/HttpKernel/CorsIntegrationTest.php \Drupal\FunctionalTests\HttpKernel\CorsIntegrationTest::modules
- 10 core/tests/Drupal/FunctionalTests/HttpKernel/CorsIntegrationTest.php \Drupal\FunctionalTests\HttpKernel\CorsIntegrationTest::modules
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 BrowserTestBase::$modules
See also
\Drupal\Tests\BrowserTestBase::installDrupal()
File
- core/
tests/ Drupal/ FunctionalTests/ HttpKernel/ CorsIntegrationTest.php, line 22
Class
- CorsIntegrationTest
- Tests CORS provided by Drupal.
Namespace
Drupal\FunctionalTests\HttpKernelCode
protected static $modules = [
'system',
'test_page_test',
'page_cache',
];