mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 11:06:06 +00:00
test(db): run the MCP and OAuth suites on the real database module
They reset through resetDatabase and seed through the ORM factories instead of the SQLite snapshot mock, so they run in the Postgres lane as well. The OAuth service they drove by hand over a second ORM on the SQLite handle is now the container's own, called in a request context. The MCP audit cases wait for the mcp.tool_call row: the transport writes it without awaiting it, so on Postgres it can land after the response.
This commit is contained in:
@@ -58,12 +58,9 @@
|
||||
"tests/integration/legacy-upgrade-v205.test.ts": 1,
|
||||
"tests/integration/legacy-upgrade-v242.test.ts": 1,
|
||||
"tests/integration/legacy-upgrade-v244.test.ts": 1,
|
||||
"tests/integration/mcp.test.ts": 1,
|
||||
"tests/integration/memories-immich.test.ts": 1,
|
||||
"tests/integration/memories-synology.test.ts": 1,
|
||||
"tests/integration/memories-unified.test.ts": 1,
|
||||
"tests/integration/oauth-authorize.test.ts": 1,
|
||||
"tests/integration/oauth.test.ts": 1,
|
||||
"tests/integration/plugins/boot-registry-order.test.ts": 1,
|
||||
"tests/integration/plugins/plugin-runtime.test.ts": 1,
|
||||
"tests/integration/scheduler-gate.test.ts": 1,
|
||||
|
||||
@@ -10,9 +10,6 @@
|
||||
"tests/helpers/test-addons.ts": 1,
|
||||
"tests/helpers/test-uow.ts": 3,
|
||||
"tests/integration/dayReorder.test.ts": 3,
|
||||
"tests/integration/mcp.test.ts": 2,
|
||||
"tests/integration/oauth-authorize.test.ts": 2,
|
||||
"tests/integration/oauth.test.ts": 2,
|
||||
"tests/integration/plugins/boot-registry-order.test.ts": 7,
|
||||
"tests/integration/plugins/plugin-runtime.task2-conversion.test.ts": 17,
|
||||
"tests/integration/plugins/plugin-scheduler-sweep.test.ts": 5,
|
||||
|
||||
Reference in New Issue
Block a user