Merge branch 'MDL-65038_master' of https://github.com/maksudr/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2019-04-04 20:30:40 +02:00
+1 -1
View File
@@ -3545,7 +3545,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.');
}
}