MDL-65038 core_files: Fix typo in function mock_response

This commit is contained in:
M
2019-03-20 20:51:28 +00:00
committed by maksudr
parent f3ad037584
commit d4fc00666b
+1 -1
View File
@@ -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.');
}
}