Trek_CN/server/tests
jubnl 465b78411a
fix(synology): resolve pagination offset using correct size before computing page offset
The `size` → `limit` assignment was evaluated after `page * limit`, causing
the offset to be computed using the hardcoded default (100) instead of the
caller-supplied page size. Swapping the two `if` blocks ensures `limit` is
resolved from `size` first so the offset is always `(page-1) * size`.

Adds SYNO-025 and SYNO-026 integration tests that capture the raw Synology
API body and assert `offset` and `limit` are forwarded correctly.
2026-04-16 19:49:08 +02:00
..
fixtures feat(server): add KML and KMZ place import pipeline 2026-04-06 18:31:47 +02:00
helpers feat(notices): add system notice infrastructure 2026-04-16 14:36:33 +02:00
integration fix(synology): resolve pagination offset using correct size before computing page offset 2026-04-16 19:49:08 +02:00
unit fix(journey): resolve Immich photos on public share by matching trek_photos.id 2026-04-16 15:37:24 +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