public function BrowserMissingDependentModuleMethodTest::testRequiresModule in Drupal 8
Same name and namespace in other branches
- 9 core/tests/fixtures/BrowserMissingDependentModuleMethodTest.php \Drupal\FunctionalTests\BrowserMissingDependentModuleMethodTest::testRequiresModule()
- 10 core/tests/fixtures/BrowserMissingDependentModuleMethodTest.php \Drupal\FunctionalTests\BrowserMissingDependentModuleMethodTest::testRequiresModule()
This method should be skipped since it requires a module that is not found.
@requires module module_does_not_exist
File
- core/
tests/ fixtures/ BrowserMissingDependentModuleMethodTest.php, line 24
Class
- BrowserMissingDependentModuleMethodTest
- A fixture test class with requires annotation.
Namespace
Drupal\FunctionalTestsCode
public function testRequiresModule() {
$this
->fail('Running test with missing required module.');
}