From b731d6af3b09e6aa6333405534220c6456e9b65d Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 9 Apr 2014 22:30:02 -0400 Subject: [PATCH] fixed topic test --- tests/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }); });