mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-48638 course: update unit test to new message
This commit is contained in:
parent
427f70a8d3
commit
affdc3b7e6
@ -958,7 +958,7 @@ class core_course_externallib_testcase extends externallib_advanced_testcase {
|
||||
core_course_external::delete_modules(array('1337'));
|
||||
$this->fail('Exception expected due to missing course module.');
|
||||
} catch (dml_missing_record_exception $e) {
|
||||
$this->assertEquals('invalidrecord', $e->errorcode);
|
||||
$this->assertEquals('invalidcoursemodule', $e->errorcode);
|
||||
}
|
||||
|
||||
// Create two modules.
|
||||
|
Loading…
x
Reference in New Issue
Block a user