Merge branch 'MDL-65038_master' of https://github.com/maksudr/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 4 Apr 2019 18:30:40 +0000 (20:30 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 4 Apr 2019 18:30:40 +0000 (20:30 +0200)
lib/filelib.php

index e69fc91..8e17525 100644 (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.');
         }
     }