chore(release): v1.30.32 — consent that stays withdrawn; quotes that come from the document

This commit is contained in:
Marc-André Bombeck committed 2026-07-19 11:59:28 +02:00
1 parent 0627648bea
commit 2ab21bb433
2 files changed
+51 -2

No files matched your search

@@ -107,12 +107,19 @@ describe("PATCH /api/auth/me/documents-auto-ai-read — catch-up scheduling", ()
});
it("still mints the consent receipt on the flip that schedules the pass", async () => {
// The catch-up rides the same act of consent, never around it.
// The catch-up rides the same act of consent, never around it. The mint
// is marked `affirmative` because switching the toggle on IS the consent
// act: unlike the settings-mount heal, it may lift an earlier
// withdrawal, which is the user deciding again rather than the page
// deciding for them.
withPrevious(false);
await PATCH(mkPatch(true));
expect(ensureWebAiConsentReceipt).toHaveBeenCalledWith("user-1");
expect(ensureWebAiConsentReceipt).toHaveBeenCalledWith(
"user-1",
"affirmative",
);
});
it("persists the flag field-by-field", async () => {