You are here

public static property RedirectOnExceptionTest::$modules in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php \Drupal\KernelTests\RequestProcessing\RedirectOnExceptionTest::modules

Modules to enable.

Test classes extending this class, and any classes in the hierarchy up to this class, may specify individual lists of modules to enable by setting this property. The values of all properties in all classes in the class hierarchy are merged.

Type: array

Overrides KernelTestBase::$modules

See also

\Drupal\Tests\KernelTestBase::enableModules()

\Drupal\Tests\KernelTestBase::bootKernel()

File

core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php, line 24
Contains \Drupal\KernelTests\RequestProcessing\RedirectOnExceptionTest.

Class

RedirectOnExceptionTest
Tests redirects on exception pages.

Namespace

Drupal\KernelTests\RequestProcessing

Code

public static $modules = [
  'system',
  'test_page_test',
];