MDL-64943 lang: Fix regression in the test caused by the reworded string

This commit is contained in:
David Mudrák 2019-02-28 19:58:41 +01:00
parent d5cdc97b2f
commit 4c73fd62b0

View file

@ -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());
}