|
|
@ -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');
|
|
|
|