protected function MissingCheckedRequirementsTest::checkRequirements in Drupal 8
Overrides checkRequirements().
Overrides TestBase::checkRequirements
File
- core/
modules/ simpletest/ src/ Tests/ MissingCheckedRequirementsTest.php, line 32
Class
- MissingCheckedRequirementsTest
- Tests a test case with missing requirements.
Namespace
Drupal\simpletest\TestsCode
protected function checkRequirements() {
if ($this
->isInChildSite()) {
return [
'Test is not allowed to run.',
];
}
return parent::checkRequirements();
}