From 4894f5be5bd85ddf196c0d5f2edc62a8d17df103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Wed, 4 Nov 2026 22:07:34 +0100 Subject: [PATCH] test(labs): seed the marker behind the lab line in the GET contract The contract walk had no fixture for `/api/biomarkers/{id}/series`, so the new route was reported instead of parsed. It now takes the seeded biomarker, which already carries a lab value, and is checked against its published schema like `/api/biomarkers/{id}`. Refs #1342 --- tests/integration/contract-seed.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/contract-seed.ts b/tests/integration/contract-seed.ts index 3ca47c3be..8a3f0c4dd 100644 --- a/tests/integration/contract-seed.ts +++ b/tests/integration/contract-seed.ts @@ -1125,6 +1125,7 @@ const PATH_PARAM_SOURCES: Record> = { "/api/managed-profiles/{id}/handover": { id: "managedProfile" }, "/api/workouts/{id}": { id: "workout" }, "/api/biomarkers/{id}": { id: "biomarker" }, + "/api/biomarkers/{id}/series": { id: "biomarker" }, "/api/insights/ecg/{id}": { id: "ecg" }, "/api/insights/chat/{id}": { id: "conversation" }, "/api/insights/chat/{id}/messages/{messageId}/results": {