test(db): run the Immich, Synology and unified memories 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.

IMMICH-057 and SYNO-035 need a shared photo row whose trip is gone, which
the foreign key's cascade rules out on a database that enforces it; they
write it with SQLite's foreign keys off as before and are skipped on
Postgres, which has no such switch.
This commit is contained in:
Maurice
2026-11-17 17:54:16 +01:00
parent 6e7336b8d7
commit f11f021e15
5 changed files with 317 additions and 321 deletions
-3
View File
@@ -58,9 +58,6 @@
"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/memories-immich.test.ts": 1,
"tests/integration/memories-synology.test.ts": 1,
"tests/integration/memories-unified.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,