Merge branch 'MDL-65038_MOODLE_36_STABLE' of https://github.com/maksudr/moodle into MOODLE_36_STABLE
This commit is contained in:
+1
-1
@@ -3527,7 +3527,7 @@ class curl {
|
||||
if ((defined('PHPUNIT_TEST') && PHPUNIT_TEST)) {
|
||||
array_push(self::$mockresponses, $response);
|
||||
} else {
|
||||
throw new coding_excpetion('mock_response function is only available for unit tests.');
|
||||
throw new coding_exception('mock_response function is only available for unit tests.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user