Skip to content

Node.js based forum software built for the modern web

fix test

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