MDL-65038 core_files: Fix typo in function mock_response

This commit is contained in:
maksudr 2019-03-20 20:56:23 +00:00
parent ec819146cc
commit 2ae0c9c7bc

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.');
}
}