From 698ed87c22a77aa270f0ba1d577e16d5882d1c4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 25 Oct 2026 03:02:57 +0100 Subject: [PATCH] test(parity): a reading or writing delegate is not offered End End needs MANAGE over medications, so the course flag now reads false for a delegate who may only read or write. --- .../parity/__snapshots__/medication-detail.05a-reader.json.snap | 2 +- .../parity/__snapshots__/medications.02a-list-reader.json.snap | 2 +- .../parity/__snapshots__/medications.18a-writer.json.snap | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/routes/parity/__snapshots__/medication-detail.05a-reader.json.snap b/tests/integration/routes/parity/__snapshots__/medication-detail.05a-reader.json.snap index fadfcd7b5..2791e0741 100644 --- a/tests/integration/routes/parity/__snapshots__/medication-detail.05a-reader.json.snap +++ b/tests/integration/routes/parity/__snapshots__/medication-detail.05a-reader.json.snap @@ -69,7 +69,7 @@ "nextDueOverdue": false, "courseStatus": "CURRENT", "intakeActionable": true, - "canEndCourse": true, + "canEndCourse": false, "stockUnitsRemaining": 3, "stockDosesRemaining": 3, "runwayDays": 21, diff --git a/tests/integration/routes/parity/__snapshots__/medications.02a-list-reader.json.snap b/tests/integration/routes/parity/__snapshots__/medications.02a-list-reader.json.snap index d6fe8ec45..d9489af45 100644 --- a/tests/integration/routes/parity/__snapshots__/medications.02a-list-reader.json.snap +++ b/tests/integration/routes/parity/__snapshots__/medications.02a-list-reader.json.snap @@ -74,7 +74,7 @@ "nextDueScheduleId": "", "courseStatus": "CURRENT", "intakeActionable": true, - "canEndCourse": true, + "canEndCourse": false, "stockUnitsRemaining": null, "stockDosesRemaining": null, "runwayDays": null diff --git a/tests/integration/routes/parity/__snapshots__/medications.18a-writer.json.snap b/tests/integration/routes/parity/__snapshots__/medications.18a-writer.json.snap index 55a10a069..93660ba3a 100644 --- a/tests/integration/routes/parity/__snapshots__/medications.18a-writer.json.snap +++ b/tests/integration/routes/parity/__snapshots__/medications.18a-writer.json.snap @@ -69,7 +69,7 @@ "nextDueOverdue": false, "courseStatus": "CURRENT", "intakeActionable": true, - "canEndCourse": true, + "canEndCourse": false, "stockUnitsRemaining": null, "stockDosesRemaining": null, "runwayDays": null,