From 3029b19be653d8f210d6d6da22baea08e70462e8 Mon Sep 17 00:00:00 2001 From: barisusakli <barisusakli@gmail.com> Date: Tue, 11 Nov 2014 23:03:20 -0500 Subject: [PATCH] fix test --- tests/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/topics.js b/tests/topics.js index f6ed12cbac..b0dcaf5655 100644 --- a/tests/topics.js +++ b/tests/topics.js @@ -54,7 +54,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:no-user]]'); + assert.equal(err.message, '[[error:no-privileges]]'); done(); }); });