You are here

public static property SystemListingCrossProfileCompatibleTest::$modules in Drupal 8

Same name and namespace in other branches
  1. 9 core/profiles/testing/modules/drupal_system_listing_compatible_test/tests/src/Kernel/SystemListingCrossProfileCompatibleTest.php \Drupal\Tests\drupal_system_listing_compatible_test\Kernel\SystemListingCrossProfileCompatibleTest::modules

Attempt to enable a module from the Testing profile.

This test uses the Minimal profile, but enables a module from the Testing profile to confirm that a different profile can be used for running tests.

Type: array

Overrides KernelTestBase::$modules

File

core/profiles/testing/modules/drupal_system_listing_compatible_test/tests/src/Kernel/SystemListingCrossProfileCompatibleTest.php, line 23

Class

SystemListingCrossProfileCompatibleTest
Verifies that tests in installation profile modules are found and may use another profile for running tests.

Namespace

Drupal\Tests\drupal_system_listing_compatible_test\Kernel

Code

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