function SystemListingCrossProfileCompatibleTest::testSystemListing
Same name in other branches
- 9 core/profiles/testing/modules/drupal_system_listing_compatible_test/tests/src/Kernel/SystemListingCrossProfileCompatibleTest.php \Drupal\Tests\drupal_system_listing_compatible_test\Kernel\SystemListingCrossProfileCompatibleTest::testSystemListing()
- 8.9.x core/profiles/testing/modules/drupal_system_listing_compatible_test/tests/src/Kernel/SystemListingCrossProfileCompatibleTest.php \Drupal\Tests\drupal_system_listing_compatible_test\Kernel\SystemListingCrossProfileCompatibleTest::testSystemListing()
- 10 core/profiles/testing/modules/drupal_system_listing_compatible_test/tests/src/Kernel/SystemListingCrossProfileCompatibleTest.php \Drupal\Tests\drupal_system_listing_compatible_test\Kernel\SystemListingCrossProfileCompatibleTest::testSystemListing()
Non-empty test* method required to executed the test case class.
File
-
core/
profiles/ testing/ modules/ drupal_system_listing_compatible_test/ tests/ src/ Kernel/ SystemListingCrossProfileCompatibleTest.php, line 48
Class
- SystemListingCrossProfileCompatibleTest
- Verifies that tests in installation profile modules are found.
Namespace
Drupal\Tests\drupal_system_listing_compatible_test\KernelCode
public function testSystemListing() {
/** @var \Drupal\Core\Extension\ModuleHandlerInterface $module_handler */
$module_handler = $this->container
->get('module_handler');
$this->assertTrue($module_handler->moduleExists('drupal_system_cross_profile_test'), 'Module installed from different profile');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.