From a3453024541006df36e15813da84340ca3723df0 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 9 Apr 2014 22:34:42 -0400 Subject: [PATCH] really fixed test --- tests/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/topics.js b/tests/topics.js index 5bafa2b218..c28456fdbc 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, '[[error:invalid-user]]'); + assert.equal(err.message, '[[error:no-user]]'); done(); }); });