Commit graph

10 commits

Author SHA1 Message Date
b88e6b0a95
Fix test errors (#31)
* 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>

* 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>

* 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>

---------

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-05-05 11:34:23 +02:00
Tim Zöller
45b7285d1c Big Feature and Beautifying Package 2026-01-13 12:59:26 +01:00
Tim Zöller
1f2ff67f38 Big Feature and Beautifying Package 2026-01-13 12:53:18 +01:00
Tim Zöller
534d55d6f3 Add Maven profile to skip integration tests when Docker unavailable
Integration tests using Testcontainers require Docker. This profile allows
running unit tests in CI/CD environments or local setups without Docker.

Usage:
  mvn test -P skip-integration-tests

Results:
- 97 unit tests pass
- 18 integration tests skipped (require Docker)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-02 17:50:06 +01:00
Tim Zöller
7d07653d2a Stuff 2025-12-04 18:39:01 +01:00
Tim Zöller
8f797a51f1 Docker Fixes 2025-11-29 12:28:58 +01:00
Tim Zöller
c1729a629d More vibin 2025-11-28 21:04:38 +01:00
Tim Zöller
1901daf5ce More ActivityPub 2025-11-28 09:00:07 +01:00
Tim Zöller
fe5bc54e92 Spring Boot Setup, Start of ActivitiPub 2025-11-27 23:31:03 +01:00
Tim Zöller
0bc4fb3118 Fit File Processing and Persistence 2025-11-27 22:59:45 +01:00