Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
919b9df
)
MDL-56529 enrol_lti: Fix for tool_provider_test
author
Jun Pataleta
<jun@moodle.com>
Fri, 21 Oct 2016 04:34:00 +0000
(12:34 +0800)
committer
Jun Pataleta
<jun@moodle.com>
Fri, 21 Oct 2016 04:34:00 +0000
(12:34 +0800)
* Use -1 for simulating a non-existent tool for
tool_provider_testcase::test_constructor_with_non_existent_tool()
enrol/lti/tests/tool_provider_test.php
patch
|
blob
|
blame
|
history
diff --git
a/enrol/lti/tests/tool_provider_test.php
b/enrol/lti/tests/tool_provider_test.php
index
64f3354
..
5e673ec
100644
(file)
--- a/
enrol/lti/tests/tool_provider_test.php
+++ b/
enrol/lti/tests/tool_provider_test.php
@@
-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);
}
/**