test(db): run the budget and collections MCP suites on the real database module

They seed through the booted container's ORM instead of a second ORM over
the SQLite snapshot mock, and reset through resetDatabase, so they run in
the Postgres lane as well. The settlement parity cases call the
container's BudgetController in a request context instead of one built by
hand over the SQLite handle, and the collections suite drops its raw
per-table DELETE for the same reset.
This commit is contained in:
Maurice
2026-11-17 18:30:12 +01:00
parent f13d60e7e9
commit b6618eac73
6 changed files with 376 additions and 427 deletions
@@ -1,7 +1,4 @@
[
"tests/unit/mcp/tools-budget-advanced.test.ts",
"tests/unit/mcp/tools-budget.test.ts",
"tests/unit/mcp/tools-collections.test.ts",
"tests/unit/mcp/tools-days-accommodations.test.ts",
"tests/unit/mcp/tools-days.test.ts",
"tests/unit/mcp/tools-feeds-invite.test.ts",