Node.js based forum software built for the modern web
fix tests
Barış Soner Uşaklı505e511e4dd9
diff --git a/test/topics.js b/test/topics.jsindex 559eaab973..e98a03a270 100644--- a/test/topics.js+++ b/test/topics.js@@ -1080,14 +1080,12 @@ describe('Topic\'s', function () {});it('should mark topic notifications read', function (done) {- var socketPosts = require('../src/socket.io/posts');-async.waterfall([function (next) {socketTopics.follow({ uid: adminUid }, tid, next);},function (next) {- socketPosts.reply({ uid: uid }, { content: 'some content', tid: tid }, next);+ topics.reply({ uid: uid, timestamp: Date.now(), content: 'some content', tid: tid }, next);},function (data, next) {setTimeout(next, 2500);