change to series

v1.18.x
Barış Soner Uşaklı
parent d92ef9ca11
commit 944972c6f2

@ -981,7 +981,7 @@ describe('Topic\'s', function () {
var tid1; var tid1;
var tid3; var tid3;
before(function (done) { before(function (done) {
async.parallel({ async.series({
topic1: function (next) { topic1: function (next) {
topics.post({ uid: adminUid, tags: ['nodebb'], title: 'topic title 1', content: 'topic 1 content', cid: topic.categoryId }, next); topics.post({ uid: adminUid, tags: ['nodebb'], title: 'topic title 1', content: 'topic 1 content', cid: topic.categoryId }, next);
}, },

Loading…
Cancel
Save