mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 19:16:08 +00:00
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:
@@ -63,9 +63,6 @@
|
||||
"tests/setup.ts": 1,
|
||||
"tests/unit/auto-backup.test.ts": 1,
|
||||
"tests/unit/db/database-lazy-open.test.ts": 1,
|
||||
"tests/unit/mcp/tools-budget-advanced.test.ts": 1,
|
||||
"tests/unit/mcp/tools-budget.test.ts": 1,
|
||||
"tests/unit/mcp/tools-collections.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,
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
"tests/unit/db/repositories/MaintenanceRepository.test.ts": 2,
|
||||
"tests/unit/db/repositories/UserConnections.repository.test.ts": 3,
|
||||
"tests/unit/demo/demo-reset-sessions.test.ts": 3,
|
||||
"tests/unit/mcp/tools-budget-advanced.test.ts": 2,
|
||||
"tests/unit/mcp/tools-prompts.test.ts": 7,
|
||||
"tests/unit/mcp/tools-roadtrip.test.ts": 1,
|
||||
"tests/unit/mcp/tools-transit.test.ts": 1,
|
||||
|
||||
Reference in New Issue
Block a user