mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-01 01:38:16 +02:00
really fixed test
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user