Fix unit tests in later moodle versions
This commit is contained in:
parent
e847890304
commit
3733a74f05
1 changed files with 1 additions and 1 deletions
|
@ -752,7 +752,7 @@ class auth_plugin_userkey_testcase extends advanced_testcase {
|
||||||
* Test that IP address mismatch exception gets thrown if user id is incorrect.
|
* Test that IP address mismatch exception gets thrown if user id is incorrect.
|
||||||
*
|
*
|
||||||
* @expectedException moodle_exception
|
* @expectedException moodle_exception
|
||||||
* @expectedExceptionMessage Invalid user id
|
* @expectedExceptionMessageRegExp /Invalid user id/i
|
||||||
*/
|
*/
|
||||||
public function test_invalid_user_exception_thrown_if_user_is_invalid() {
|
public function test_invalid_user_exception_thrown_if_user_is_invalid() {
|
||||||
global $DB;
|
global $DB;
|
||||||
|
|
Loading…
Reference in a new issue