From 23bda0e1e1f43570ddca193c21f902f28897b5d9 Mon Sep 17 00:00:00 2001 From: Maurice Date: Fri, 4 Sep 2026 20:02:15 +0200 Subject: [PATCH] test(roadtrip): register the via tools in the MCP test registry The registry the MCP tests build had every other domain and not this one, so the four via tools were absent from every assertion that walks it. A test that asked whether they were reachable, or gated, would have passed without them ever being there. --- server/tests/helpers/mcp-test-controllers.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/tests/helpers/mcp-test-controllers.ts b/server/tests/helpers/mcp-test-controllers.ts index b3e6a2854..89ebe5e19 100644 --- a/server/tests/helpers/mcp-test-controllers.ts +++ b/server/tests/helpers/mcp-test-controllers.ts @@ -80,6 +80,8 @@ import { PlacePhotoCacheService } from '../../src/nest/place-photos/place-photo- import { RuntimeEnvService } from '../../src/nest/app-config/runtime-env.service'; import { makeNotificationsService, makeNotificationPreferencesService } from './notifications'; import { AddonsService } from '../../src/nest/addons/addons.service'; +import { RoadtripMcp } from '../../src/nest/roadtrip/roadtrip.mcp'; +import { RoadtripService } from '../../src/nest/roadtrip/roadtrip.service'; import { notificationsStub } from './notifications'; import { EphemeralTokenService } from '../../src/nest/auth/ephemeral-token.service'; import { AllowedFileTypesService } from '../../src/nest/files/allowed-file-types.service'; @@ -212,6 +214,7 @@ export function createMcpTestRegistry(): McpRegistry { new ReservationsMcp(reservationsService, daysService, budgetService, authService, assignmentsService, guards), new DayNotesMcp(new DayNotesService(dbService, permissionsService, realtimeService), authService, guards), new DaysMcp(daysService, authService, guards), + new RoadtripMcp(new RoadtripService(dbService), dbService, guards, authService, addonsService), new FilesMcp(new FilesService(dbService, permissionsService, realtimeService, new EphemeralTokenService(), generalStorage), authService, guards), new AccommodationsMcp(accommodationsService, dbService, placesService, authService, guards), new AssignmentsMcp(assignmentsService, daysService, authService, guards),