Fix test errors #31

Merged
McPringle merged 3 commits from fix/test-errors into main 2026-05-05 11:34:24 +02:00

3 commits

Author SHA1 Message Date
649d1e8c5f
fix(testcontainers): align versions and stabilize PostGIS setup
Unify Testcontainers dependencies to a consistent version and remove
custom container tweaks that caused instability with Podman.

- align all Testcontainers dependencies to 2.0.5
- remove `HostPortWaitStrategy` (PostgreSQLContainer already defines an appropriate wait strategy)
- remove `withReuse(true)` (may retain state across runs and break reproducibility)

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-30 11:37:38 +02:00
37aa63ff28
fix: handle missing timezone in activity title generation
Default title generation could fail when parsed activity data had no timezone set. This change adds a null/blank fallback in `ActivityFormatter` so titles can still be generated without throwing a `NullPointerException`.

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-30 10:14:18 +02:00
cd3687683c
test: disable ActivityImageService manual test class in default build
The test method was already disabled, but the Spring test context for the class was still being created during the regular test run. Moving `@Disabled` to the class prevents the Testcontainers-based application context from loading for this manual-only test and stops `verify` from failing.

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-30 09:59:54 +02:00