From 4d4a527c0d95629bb2f1e0f86fde1fa86f98b775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 26 Sep 2026 10:21:22 +0200 Subject: [PATCH] test(reminders): pin the snooze guard of the 0355 repair on its own The snoozed fixture sat inside a week of the send, so the one-week clause already excluded it and dropping the snooze guard from the migration left the suite green. Snooze it further out, a minute after the send, so only the snooze cursor tells it apart from a roll-on. --- tests/integration/checkup-stays-due.test.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/integration/checkup-stays-due.test.ts b/tests/integration/checkup-stays-due.test.ts index 2bd8c66e1..e7773047b 100644 --- a/tests/integration/checkup-stays-due.test.ts +++ b/tests/integration/checkup-stays-due.test.ts @@ -275,11 +275,14 @@ describe("migration 0355", () => { updatedAt: new Date("2026-09-26T07:02:00.000Z"), }, { + // Snoozed a minute after the send to a day well past a week out, so + // only the snooze cursor tells it apart from a roll-on. id: "snoozed", data: { - snoozedUntil: new Date("2026-10-03T07:00:00.000Z"), - nextDueAt: new Date("2026-10-03T07:00:00.000Z"), + snoozedUntil: new Date("2026-11-02T08:00:00.000Z"), + nextDueAt: new Date("2026-11-02T08:00:00.000Z"), }, + updatedAt: new Date("2026-09-26T07:01:00.000Z"), }, { // Edited two days after the send: the last write is not the roll-on.