Skip to content

Node.js based forum software built for the modern web

fix: notification prune test

Barış Soner Uşaklıca8176312f41
diff --git a/test/notifications.js b/test/notifications.js
index 7de0f93347..7ff53f3c60 100644
--- a/test/notifications.js
+++ b/test/notifications.js
@@ -467,8 +467,8 @@ describe('Notifications', () => {
assert.ifError(err);
notifications.prune((err) => {
assert.ifError(err);
- const week = 604800000;
- db.sortedSetAdd('notifications', Date.now() - (2 * week), notification.nid, (err) => {
+ const month = 2592000000;
+ db.sortedSetAdd('notifications', Date.now() - (2 * month), notification.nid, (err) => {
assert.ifError(err);
notifications.prune((err) => {
assert.ifError(err);