You are here

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

Same name in this branch
  1. 8 core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php \Drupal\KernelTests\Core\Entity\RouteProviderTest::modules
  2. 8 core/modules/system/src/Tests/Routing/RouteProviderTest.php \Drupal\system\Tests\Routing\RouteProviderTest::modules
Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php \Drupal\KernelTests\Core\Entity\RouteProviderTest::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/Core/Entity/RouteProviderTest.php, line 28
Contains \Drupal\KernelTests\Core\Entity\RouteProviderTest.

Class

RouteProviderTest
Tests route providers for entity types.

Namespace

Drupal\KernelTests\Core\Entity

Code

public static $modules = [
  'entity_test',
  'user',
  'system',
];