Skip to content

Commit

Permalink
MDL-48638 course: update unit test to new message
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Dec 22, 2014
1 parent 427f70a commit affdc3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/tests/externallib_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ public function test_delete_modules() {
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.
Expand Down

0 comments on commit affdc3b

Please sign in to comment.