Merge branch 'MDL-56529-master' of git://github.com/junpataleta/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 21 Oct 2016 11:03:56 +0000 (13:03 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 21 Oct 2016 11:03:56 +0000 (13:03 +0200)
enrol/lti/tests/tool_provider_test.php

index 64f3354..5e673ec 100644 (file)
@@ -75,7 +75,7 @@ class tool_provider_testcase extends advanced_testcase {
      */
     public function test_constructor_with_non_existent_tool() {
         $this->expectException('dml_exception');
-        new tool_provider(1);
+        new tool_provider(-1);
     }
 
     /**