Use the consent surface the error type expects in the contract test

This commit is contained in:
Marc-André Bombeck committed 2026-08-13 12:43:27 +02:00
1 parent dceca62f8e
commit b2908343c4
1 file changed
+1 -1
@@ -216,7 +216,7 @@ describe("contract (a): every runDocumentSummaryJob branch writes a terminal sta
name: "consent refused",
setup: () => {
vi.mocked(assertDocumentEgressConsent).mockRejectedValue(
new ConsentRequiredError("no consent"),
new ConsentRequiredError("insights"),
);
},
state: "UNAVAILABLE",