You are here

public static property SimpleTestExampleTest::$modules in Examples for Developers 8

Our module dependencies.

In Drupal 8's SimpleTest, we declare module dependencies in a public static property called $modules. WebTestBase automatically enables these modules for us.

Type: array

File

testing_example/src/Tests/SimpleTestExampleTest.php, line 42

Class

SimpleTestExampleTest
Ensure that the simpletest_example content type provided functions properly.

Namespace

Drupal\testing_example\Tests

Code

public static $modules = [
  'testing_example',
];