Node.js based forum software built for the modern web
fix: test
Barış Soner Uşaklıbc41848adb6c
diff --git a/test/messaging.js b/test/messaging.jsindex fa6bc96cf7..2dcf1bc833 100644--- a/test/messaging.js+++ b/test/messaging.js@@ -349,7 +349,7 @@ describe('Messaging Library', function () {it('should notify offline users of message', function (done) {Messaging.notificationSendDelay = 100;- db.sortedSetAdd('users:online', Date.now() - 350000, herpUid, function (err) {+ db.sortedSetAdd('users:online', Date.now() - ((meta.config.onlineCutoff * 60000) + 50000), herpUid, function (err) {assert.ifError(err);socketModules.chats.send({ uid: fooUid }, { roomId: roomId, message: 'second chat message' }, function (err) {assert.ifError(err);