Skip to content

Commit

Permalink
MDL-65038 core_files: Fix typo in function mock_response
Browse files Browse the repository at this point in the history
  • Loading branch information
maksudr committed Mar 20, 2019
1 parent ec81914 commit 2ae0c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/filelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -3527,7 +3527,7 @@ public static function mock_response($response) {
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.');
}
}

Expand Down

0 comments on commit 2ae0c9c

Please sign in to comment.