You are here

protected static property CsrfRequestHeaderTest::$modules in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php \Drupal\Tests\system\Functional\CsrfRequestHeaderTest::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php, line 20

Class

CsrfRequestHeaderTest
Tests protecting routes by requiring CSRF token in the request header.

Namespace

Drupal\Tests\system\Functional

Code

protected static $modules = [
  'system',
  'csrf_test',
];