mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-65038 core_files: Fix typo in function mock_response
This commit is contained in:
parent
ec819146cc
commit
2ae0c9c7bc
@ -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.');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user