mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: tests
This commit is contained in:
@@ -783,7 +783,7 @@ describe('Topic\'s', function () {
|
|||||||
var newTopic;
|
var newTopic;
|
||||||
var replies = [];
|
var replies = [];
|
||||||
var topicPids;
|
var topicPids;
|
||||||
var originalBookmark = 5;
|
var originalBookmark = 6;
|
||||||
function postReply(next) {
|
function postReply(next) {
|
||||||
topics.reply({ uid: topic.userId, content: 'test post ' + replies.length, tid: newTopic.tid }, function (err, result) {
|
topics.reply({ uid: topic.userId, content: 'test post ' + replies.length, tid: newTopic.tid }, function (err, result) {
|
||||||
assert.equal(err, null, 'was created with error');
|
assert.equal(err, null, 'was created with error');
|
||||||
|
|||||||
Reference in New Issue
Block a user