From 0435aa058ba6a7838313ea132dd9bb35e45faa8f Mon Sep 17 00:00:00 2001 From: Jer Miller Date: Mon, 11 May 2026 17:26:24 -0600 Subject: [PATCH] tests: update API baselines for Reason errors --- tests/baselines/api/import/import-day.json | 4 +++- tests/baselines/api/observer/ingest-day.json | 4 +++- tests/baselines/api/observer/observer-key.json | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/tests/baselines/api/import/import-day.json b/tests/baselines/api/import/import-day.json index a658493e2..ce6c7572f 100644 --- a/tests/baselines/api/import/import-day.json +++ b/tests/baselines/api/import/import-day.json @@ -1,3 +1,5 @@ { - "error": "Import not found" + "detail": "Import not found", + "error": "I couldn't find that import.", + "reason_code": "import_not_found" } diff --git a/tests/baselines/api/observer/ingest-day.json b/tests/baselines/api/observer/ingest-day.json index 844b5747a..66ba6f705 100644 --- a/tests/baselines/api/observer/ingest-day.json +++ b/tests/baselines/api/observer/ingest-day.json @@ -1,3 +1,5 @@ { - "error": "Invalid key" + "detail": "Invalid key", + "error": "I couldn't verify that key.", + "reason_code": "auth_key_invalid" } diff --git a/tests/baselines/api/observer/observer-key.json b/tests/baselines/api/observer/observer-key.json index 0eb67dce1..e1133e442 100644 --- a/tests/baselines/api/observer/observer-key.json +++ b/tests/baselines/api/observer/observer-key.json @@ -1,3 +1,5 @@ { - "error": "Observer not found" + "detail": "Observer not found", + "error": "I couldn't find that paired device.", + "reason_code": "paired_device_not_found" } -- 2.51.2