SystemListingCrossProfileCompatibleTest::$modules

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
  2. 10 core/profiles/testing/modules/drupal_system_listing_compatible_test/tests/src/Kernel/SystemListingCrossProfileCompatibleTest.php \Drupal\Tests\drupal_system_listing_compatible_test\Kernel\SystemListingCrossProfileCompatibleTest::modules
  3. 11.x 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',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.