test(db): run the days, accommodations, files and help 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 collab sub-feature case in the help suite toggles through the
container's AddonsService in a request context instead of one built by
hand over the SQLite handle.
This commit is contained in:
Maurice
2026-11-17 18:49:07 +01:00
parent b6618eac73
commit 8254ffd23b
6 changed files with 478 additions and 522 deletions
-4
View File
@@ -63,11 +63,7 @@
"tests/setup.ts": 1,
"tests/unit/auto-backup.test.ts": 1,
"tests/unit/db/database-lazy-open.test.ts": 1,
"tests/unit/mcp/tools-days-accommodations.test.ts": 1,
"tests/unit/mcp/tools-days.test.ts": 1,
"tests/unit/mcp/tools-feeds-invite.test.ts": 1,
"tests/unit/mcp/tools-files.test.ts": 1,
"tests/unit/mcp/tools-help-addons.test.ts": 1,
"tests/unit/mcp/tools-journey.test.ts": 1,
"tests/unit/mcp/tools-leg-transport-mode.test.ts": 1,
"tests/unit/mcp/tools-memories.test.ts": 1,