From 67d8f226225b84ef70c29a669bd736afcb088b08 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sat, 24 Oct 2026 22:36:27 +0200 Subject: [PATCH] test(assistant): the catalog check lists the Dawarich tools too A stay taken into a journal now has a card of its own, so ASTTOOL-001 looks for its tool; Dawarich's tools are listed only with its addon on, which the test now turns on beside the others. --- .../tests/unit/nest/assistant/assistant-tools.service.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/tests/unit/nest/assistant/assistant-tools.service.test.ts b/server/tests/unit/nest/assistant/assistant-tools.service.test.ts index 797e96d84..2232b3062 100644 --- a/server/tests/unit/nest/assistant/assistant-tools.service.test.ts +++ b/server/tests/unit/nest/assistant/assistant-tools.service.test.ts @@ -75,7 +75,8 @@ beforeAll(async () => { orm = app.get(MikroORM); registry = app.get(McpRegistryService); tools = app.get(AssistantToolsService); - const addons = ['packing', 'budget', 'collections', 'journey', 'roadtrip']; + // Dawarich too: a stay taken into a journal has a card of its own (the journal chat's). + const addons = ['packing', 'budget', 'collections', 'journey', 'roadtrip', 'dawarich']; await Promise.all(addons.map((addon) => setAddonEnabled(orm, addon, true))); // The wanderer tools show only while the admin allows wanderer under Tours. await setAppSetting(orm, 'tours_wanderer_enabled', 'true');