This commit is contained in:
barisusakli
2014-11-11 23:03:20 -05:00
parent 15e472db12
commit 3029b19be6

View File

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