From cd2ecf897bb0d935135bb145dd7cb9009f186c84 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sun, 18 Oct 2026 13:58:30 +0200 Subject: [PATCH] test(mcp): search_pois asks the index by Overture path --- server/tests/unit/mcp/tools-tags-maps-weather.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/tests/unit/mcp/tools-tags-maps-weather.test.ts b/server/tests/unit/mcp/tools-tags-maps-weather.test.ts index 3754dfbc4..39ab0b654 100644 --- a/server/tests/unit/mcp/tools-tags-maps-weather.test.ts +++ b/server/tests/unit/mcp/tools-tags-maps-weather.test.ts @@ -552,7 +552,8 @@ describe('Tool: search_pois', () => { const [lat, lng, opts] = trekNearbyMock.mock.calls[0]; expect(lat).toBeCloseTo(48.86, 5); expect(lng).toBeCloseTo(2.345, 5); - expect(opts?.category).toBe('restaurant,casual_eatery,fast_food'); + // Overture paths, so a pill cannot catch what is only spelled like it (#2663). + expect(opts?.category).toBe('food_and_drink>restaurant,food_and_drink>casual_eatery'); // Sixty per category, the same allowance the Overpass path spends, rather // than a number this branch made up for itself. expect(opts?.limit).toBe(60);