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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user