From 83e97cf27c17f7c452f9a4a279af46255abc4e38 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Thu, 2 Jan 2025 18:05:58 +0100 Subject: [PATCH] fix test --- test/api/v3/integration/debug/POST-debug_jumpTime.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api/v3/integration/debug/POST-debug_jumpTime.test.js b/test/api/v3/integration/debug/POST-debug_jumpTime.test.js index f4326fd972f..ba15f9eabaf 100644 --- a/test/api/v3/integration/debug/POST-debug_jumpTime.test.js +++ b/test/api/v3/integration/debug/POST-debug_jumpTime.test.js @@ -59,7 +59,7 @@ describe('POST /debug/jump-time', () => { expect(resultDate.getDate()).to.eql(today.getDate()); expect(resultDate.getMonth()).to.eql(today.getMonth()); expect(resultDate.getFullYear()).to.eql(today.getFullYear()); - const newResultDate = new Date((await user.post('/debug/jump-time', { offsetDays: 355 })).time); + const newResultDate = new Date((await user.post('/debug/jump-time', { offsetDays: 365 })).time); expect(newResultDate.getFullYear()).to.eql(today.getFullYear() + 1); });