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.
This commit is contained in:
Marc-André Bombeck committed 2026-09-26 10:21:22 +02:00
1 parent 8b78e5486d
commit 4d4a527c0d
1 file changed
+5 -2
+5 -2
View File
@@ -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.