From 89505a2363f5c656c074ec77bf6becb9feef90fd Mon Sep 17 00:00:00 2001 From: Test User Date: Fri, 17 Apr 2026 12:14:49 +0000 Subject: [PATCH] fix(GRO-749): update test assertions to use X-Impersonation-Session-Id header QA found test assertion failures - tests were asserting the old (incorrect) Authorization: Bearer header instead of the correct X-Impersonation-Session-Id. Co-Authored-By: Paperclip --- apps/web/src/__tests__/Appointments.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/__tests__/Appointments.test.tsx b/apps/web/src/__tests__/Appointments.test.tsx index b223866..bc42a07 100644 --- a/apps/web/src/__tests__/Appointments.test.tsx +++ b/apps/web/src/__tests__/Appointments.test.tsx @@ -93,7 +93,7 @@ describe("CustomerNotesSection", () => { "/api/portal/appointments/appt-1/notes", expect.objectContaining({ headers: expect.objectContaining({ - "Authorization": "Bearer test-session-id", + "X-Impersonation-Session-Id": "test-session-id", }), }) ); @@ -269,7 +269,7 @@ describe("ConfirmationSection", () => { "/api/portal/appointments/appt-1/confirm", expect.objectContaining({ headers: expect.objectContaining({ - "Authorization": "Bearer test-session-id", + "X-Impersonation-Session-Id": "test-session-id", }), }) );