diff --git a/tag/tests/external_test.php b/tag/tests/external_test.php index b4fa7cdd7e7..03ebb3acb30 100644 --- a/tag/tests/external_test.php +++ b/tag/tests/external_test.php @@ -164,7 +164,7 @@ class core_tag_external_testcase extends externallib_advanced_testcase { core_external::update_inplace_editable('core_tag', 'tagname', $tag->id, 'new tag name'); $this->fail('Exception expected'); } catch (moodle_exception $e) { - $this->assertEquals('Sorry, but you do not currently have permissions to do that (Manage all tags)', + $this->assertEquals('Sorry, but you do not currently have permissions to do that (Manage all tags).', $e->getMessage()); }