Node.js based forum software built for the modern web
remove console.log switch to series
Barış Soner Uşaklı1cb2e1e3688a
diff --git a/src/user/info.js b/src/user/info.jsindex eceea88b0e..aabdac3534 100644--- a/src/user/info.js+++ b/src/user/info.js@@ -129,7 +129,6 @@ module.exports = function (User) {var banData;async.waterfall([function (next) {- console.log(data);db.getObjects(data.bans, next);},function (_banData, next) {diff --git a/test/topics.js b/test/topics.jsindex c7655e6d66..cd15149d6e 100644--- a/test/topics.js+++ b/test/topics.js@@ -1244,14 +1244,14 @@ describe('Topic\'s', function () {var socketAdmin = require('../src/socket.io/admin');before(function (done) {- async.parallel({- topic1: function (next) {+ async.series([+ function (next) {topics.post({ uid: adminUid, tags: ['php', 'nosql', 'psql', 'nodebb'], title: 'topic title 1', content: 'topic 1 content', cid: topic.categoryId }, next);},- topic2: function (next) {+ function (next) {topics.post({ uid: adminUid, tags: ['javascript', 'mysql', 'python', 'nodejs'], title: 'topic title 2', content: 'topic 2 content', cid: topic.categoryId }, next);},- }, function (err) {+ ], function (err) {assert.ifError(err);done();});