mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-07 04:12:04 +00:00
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
This commit is contained in:
1 parent
27a1cd6c2f
commit
4894f5be5b
1 file changed
+1
@@ -1125,6 +1125,7 @@ const PATH_PARAM_SOURCES: Record<string, Record<string, string>> = {
|
||||
"/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": {
|
||||
|
||||
Reference in new issue
Block a user