From fd2c20dffa581916b73b7072095813568d62fdb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 24 Oct 2026 22:28:20 +0200 Subject: [PATCH] test(modules): list the course end route with its sibling course routes Ending the running course writes the same course rows the other course routes do, so it follows the same data-layer reasoning: the medications module gates the surface, not the row store. Refs #1280 --- src/app/api/__tests__/module-route-gate-inventory.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/api/__tests__/module-route-gate-inventory.test.ts b/src/app/api/__tests__/module-route-gate-inventory.test.ts index 9758c75e4..4ab806ca6 100644 --- a/src/app/api/__tests__/module-route-gate-inventory.test.ts +++ b/src/app/api/__tests__/module-route-gate-inventory.test.ts @@ -285,6 +285,8 @@ const EXEMPT_ROUTES: ReadonlyArray = [ // v1.40 (#1024) — a medication's courses, same again. "src/app/api/medications/[id]/courses/route.ts", "src/app/api/medications/[id]/courses/[courseId]/route.ts", + // #1280 — ending the running course is a write to the same course rows. + "src/app/api/medications/[id]/courses/end/route.ts", "src/app/api/medications/compliance/route.ts", "src/app/api/medications/intake/route.ts", "src/app/api/medications/intake/bulk/route.ts",