mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 19:16:08 +00:00
test(db): run the AirTrail, atlas expanded, collab and categories 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 PermissionsService the AirTrail cases save through and the CategoriesMcp and DemoService the categories write harness attaches are the container's own, called in a request context, instead of instances built by hand over the SQLite handle. include_coords compares the coordinates as a set: getTravelStats reads them through a SELECT DISTINCT without an order, and Postgres returns them in hash order.
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
[
|
||||
"tests/unit/mcp/tools-airtrail.test.ts",
|
||||
"tests/unit/mcp/tools-atlas-expanded.test.ts",
|
||||
"tests/unit/mcp/tools-budget-advanced.test.ts",
|
||||
"tests/unit/mcp/tools-budget.test.ts",
|
||||
"tests/unit/mcp/tools-categories.test.ts",
|
||||
"tests/unit/mcp/tools-collab-polls-chat.test.ts",
|
||||
"tests/unit/mcp/tools-collections.test.ts",
|
||||
"tests/unit/mcp/tools-days-accommodations.test.ts",
|
||||
"tests/unit/mcp/tools-days.test.ts",
|
||||
|
||||
Reference in New Issue
Block a user