test(db): run the share, tags, maps and weather, and transit MCP suites on the real database module

They seed through the booted container's ORM instead of the SQLite snapshot
mock and reset through resetDatabase, so they run in the Postgres lane as
well. The transit suite saves its permission levels through the
container's PermissionsService in a request context instead of one built
by hand over the SQLite handle.
This commit is contained in:
Maurice
2026-11-17 19:46:27 +01:00
parent 65d55add5a
commit 4f8ae98e7d
6 changed files with 138 additions and 165 deletions
-3
View File
@@ -66,9 +66,6 @@
"tests/unit/mcp/tools-notifications.test.ts": 1,
"tests/unit/mcp/tools-packing-advanced.test.ts": 1,
"tests/unit/mcp/tools-prompts.test.ts": 1,
"tests/unit/mcp/tools-share.test.ts": 1,
"tests/unit/mcp/tools-tags-maps-weather.test.ts": 1,
"tests/unit/mcp/tools-transit.test.ts": 1,
"tests/unit/mcp/tools-transports.test.ts": 1,
"tests/unit/mcp/tools-trip-members.test.ts": 1,
"tests/unit/mcp/tools-trip-warnings.test.ts": 1,
@@ -24,7 +24,6 @@
"tests/unit/db/repositories/UserConnections.repository.test.ts": 3,
"tests/unit/demo/demo-reset-sessions.test.ts": 3,
"tests/unit/mcp/tools-prompts.test.ts": 7,
"tests/unit/mcp/tools-transit.test.ts": 1,
"tests/unit/nest-rpc/plugin-guards.test.ts": 1,
"tests/unit/nest-rpc/rpc-kit/registry.service.test.ts": 3,
"tests/unit/nest/accommodations.service.test.ts": 1,