From 9e555b7fd244d6a7b1742efb55b58368bfd01ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 14 Aug 2026 03:56:38 +0200 Subject: [PATCH] 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. --- tests/integration/mcp-write-and-range-read.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/integration/mcp-write-and-range-read.test.ts b/tests/integration/mcp-write-and-range-read.test.ts index c68409b6c..c93c0d61a 100644 --- a/tests/integration/mcp-write-and-range-read.test.ts +++ b/tests/integration/mcp-write-and-range-read.test.ts @@ -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: "<<>>Blood pressure check<<>>", overdue: true, }); });