public function KernelMissingDependentModuleTest::testRequiresModule in Drupal 9
Same name and namespace in other branches
- 8 core/tests/fixtures/KernelMissingDependentModuleTest.php \Drupal\KernelTests\KernelMissingDependentModuleTest::testRequiresModule()
- 10 core/tests/fixtures/KernelMissingDependentModuleTest.php \Drupal\KernelTests\KernelMissingDependentModuleTest::testRequiresModule()
Placeholder test method.
Depending on configuration, PHPUnit might fail a test if it has no test methods, so we must provide one. This method should never be executed.
File
- core/
tests/ fixtures/ KernelMissingDependentModuleTest.php, line 24
Class
- KernelMissingDependentModuleTest
- A fixture test class with requires annotation.
Namespace
Drupal\KernelTestsCode
public function testRequiresModule() {
$this
->fail('Running test with missing required module.');
}