Expect the fenced label on the real-DB preventive-care read

The integration twin of the tool test still asserted the raw reminder
label; the tool now fences it like the appointment reason beside it.
This commit is contained in:
Marc-André Bombeck committed 2026-08-14 03:56:38 +02:00
1 parent 8ee123d06b
commit 9e555b7fd2
1 file changed
+3 -1
@@ -215,7 +215,9 @@ describe("get_preventive_care — real DB", () => {
expect(result.present).toBe(true);
expect(result.checkups).toHaveLength(1);
expect(result.checkups[0]).toMatchObject({
label: "Blood pressure check",
// The label is the user's own free text and rides the USER_TEXT fence
// like the appointment reason beside it.
label: "<<<USER_TEXT_START>>>Blood pressure check<<<USER_TEXT_END>>>",
overdue: true,
});
});