diff --git a/tests/topics.js b/tests/topics.js index a028c1b274..5bafa2b218 100644 --- a/tests/topics.js +++ b/tests/topics.js @@ -43,7 +43,7 @@ describe('Topic\'s', function() { it('should fail to create new topic with wrong parameters', function(done) { topics.post({uid: null, title: topic.title, content: topic.content, cid: topic.categoryId}, function(err, result) { - assert.equal(err.message, 'invalid-user'); + assert.equal(err.message, '[[error:invalid-user]]'); done(); }); });