From 4c598655b7903c20173975ce96f93676a1ee04b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 11 Oct 2026 14:17:36 +0200 Subject: [PATCH] test(reminders): give the reminder fixtures the full gate row --- src/lib/jobs/__tests__/medication-reminder-check.test.ts | 5 +++++ src/lib/jobs/__tests__/medication-reminder-dedup.test.ts | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/lib/jobs/__tests__/medication-reminder-check.test.ts b/src/lib/jobs/__tests__/medication-reminder-check.test.ts index ace53d2c0..f47a71299 100644 --- a/src/lib/jobs/__tests__/medication-reminder-check.test.ts +++ b/src/lib/jobs/__tests__/medication-reminder-check.test.ts @@ -124,6 +124,11 @@ function medicationWithSchedule( active: true, asNeeded: false, notificationsEnabled: true, + // v1.42.2 — the reminder gate reads the full row. + autoMarkTaken: false, + active: true, + trackIntake: true, + asNeeded: false, snoozedUntil: null, startsOn: new Date("2026-07-01T00:00:00.000Z"), endsOn: null, diff --git a/src/lib/jobs/__tests__/medication-reminder-dedup.test.ts b/src/lib/jobs/__tests__/medication-reminder-dedup.test.ts index dfa47aadd..44a63941f 100644 --- a/src/lib/jobs/__tests__/medication-reminder-dedup.test.ts +++ b/src/lib/jobs/__tests__/medication-reminder-dedup.test.ts @@ -140,6 +140,11 @@ function medicationFixture(notificationPrefs: unknown = null) { active: true, asNeeded: false, notificationsEnabled: true, + // v1.42.2 — the reminder gate reads the full row. + autoMarkTaken: false, + active: true, + trackIntake: true, + asNeeded: false, snoozedUntil: null, startsOn: null, endsOn: null,