MDL-41256 course tests: improve robustness
authorDan Poltawski <dan@moodle.com>
Tue, 3 Sep 2013 02:59:51 +0000 (10:59 +0800)
committerDan Poltawski <dan@moodle.com>
Tue, 3 Sep 2013 03:01:15 +0000 (11:01 +0800)
commit2793260fc093f2eee0c84a3a2209478c18578575
tree128f5a2aa941515c5915f885043792d0044d44f8
parentc6569641e7c4ea98f13bc6a3b9206f4df1150499
MDL-41256 course tests: improve robustness

* Fail if an exception isn't recieved
* Don't allow the possibility of an undefined variable being tested
course/tests/courselib_test.php