1 backdrop_web_test_case.php | protected BackdropTestCase::checkRequirements() |
Checks the matching requirements for BackdropTestCase.
Return value
Array of errors containing a list of unmet requirements.:
File
- core/
modules/ simpletest/ backdrop_web_test_case.php, line 139
Class
- BackdropTestCase
- Base class for Backdrop tests.
Code
protected function checkRequirements() {
$errors = array();
if (!extension_loaded('curl')) {
$errors[] = 'PHP curl extension is not present.';
}
return $errors;
}