From d1d3d4ef341f995f8dcbae58be403949f1880264 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Wed, 31 Dec 2025 21:07:22 +0100 Subject: [PATCH 1/4] Update domain expiry notification days setting --- test/backend-test/test-domain.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/backend-test/test-domain.js b/test/backend-test/test-domain.js index aa3102e37..b377d6ea3 100644 --- a/test/backend-test/test-domain.js +++ b/test/backend-test/test-domain.js @@ -53,13 +53,12 @@ test("Domain Expiry", async (t) => { "user_id": 1, "name": "Testhook" }); - const manyDays = 1500; - setSetting("domainExpiryNotifyDays", [ 7, 14, manyDays ], "general"); + const manyDays = 3650; + setSetting("domainExpiryNotifyDays", [ manyDays ], "general"); const [ notifRet, data ] = await Promise.all([ DomainExpiry.sendNotifications(monHttpCom, [ notif ]), mockWebhook(hook.port, hook.url) ]); - assert.equal(notifRet, manyDays); assert.match(data.msg, /will expire in/); }); }).finally(() => { From a46810b1ffa33351795e280111afe2ae3308b4ba Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Wed, 31 Dec 2025 21:42:16 +0100 Subject: [PATCH 2/4] Update test/backend-test/test-domain.js --- test/backend-test/test-domain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/backend-test/test-domain.js b/test/backend-test/test-domain.js index b377d6ea3..d0b4ca91b 100644 --- a/test/backend-test/test-domain.js +++ b/test/backend-test/test-domain.js @@ -55,7 +55,7 @@ test("Domain Expiry", async (t) => { }); const manyDays = 3650; setSetting("domainExpiryNotifyDays", [ manyDays ], "general"); - const [ notifRet, data ] = await Promise.all([ + const [ _notifRet, data ] = await Promise.all([ DomainExpiry.sendNotifications(monHttpCom, [ notif ]), mockWebhook(hook.port, hook.url) ]); From 20d2693f335057d645916fe49507cfcf0f5bcaff Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Thu, 1 Jan 2026 03:11:38 +0100 Subject: [PATCH 3/4] Update test/backend-test/test-domain.js --- test/backend-test/test-domain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/backend-test/test-domain.js b/test/backend-test/test-domain.js index d0b4ca91b..6bf72121a 100644 --- a/test/backend-test/test-domain.js +++ b/test/backend-test/test-domain.js @@ -55,7 +55,7 @@ test("Domain Expiry", async (t) => { }); const manyDays = 3650; setSetting("domainExpiryNotifyDays", [ manyDays ], "general"); - const [ _notifRet, data ] = await Promise.all([ + const [ _, data ] = await Promise.all([ DomainExpiry.sendNotifications(monHttpCom, [ notif ]), mockWebhook(hook.port, hook.url) ]); From 402d577429f2cdc86d180a8a1df1cf31adc50275 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Thu, 1 Jan 2026 08:02:19 +0100 Subject: [PATCH 4/4] Update test/backend-test/test-domain.js --- test/backend-test/test-domain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/backend-test/test-domain.js b/test/backend-test/test-domain.js index 6bf72121a..535029531 100644 --- a/test/backend-test/test-domain.js +++ b/test/backend-test/test-domain.js @@ -55,7 +55,7 @@ test("Domain Expiry", async (t) => { }); const manyDays = 3650; setSetting("domainExpiryNotifyDays", [ manyDays ], "general"); - const [ _, data ] = await Promise.all([ + const [ , data ] = await Promise.all([ DomainExpiry.sendNotifications(monHttpCom, [ notif ]), mockWebhook(hook.port, hook.url) ]);