Trek_CN/server/tests
jubnl 714e2ad703
fix(tests): update test helpers and assertions for migration-98 photo schema
trek_photos is now the central registry; trip_photos and journey_photos
reference it via photo_id FK. Updated all affected test helpers and
direct-SQL assertions to join trek_photos instead of querying stale
columns (asset_id, provider, owner_id) on the leaf tables.

Also fix ATLAS-UNIT-019: getVisitedRegions now fires background geocoding
and returns immediately, so the test must call it twice — once to trigger
the fill, once after advancing fake timers to read cached results.
2026-04-14 13:54:48 +02:00
..
fixtures Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
helpers fix(tests): update test helpers and assertions for migration-98 photo schema 2026-04-14 13:54:48 +02:00
integration fix(tests): update test helpers and assertions for migration-98 photo schema 2026-04-14 13:54:48 +02:00
unit fix(tests): update test helpers and assertions for migration-98 photo schema 2026-04-14 13:54:48 +02:00
websocket test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
setup.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00