MDL-56529 enrol_lti: Fix for tool_provider_test

* Use -1 for simulating a non-existent tool for
  tool_provider_testcase::test_constructor_with_non_existent_tool()
This commit is contained in:
Jun Pataleta
2016-10-21 12:34:00 +08:00
parent 919b9dfabd
commit 0766dd669b
+1 -1
View 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);
}
/**