chore(backend): add integration test for PingRepository with Testcontainers setup

- Implemented a minimal integration test to validate persistence layer functionality.
- Configured PostgreSQL Testcontainer and Flyway migrations for testing.
- Added `TestPersistenceConfig` to isolate testing setup and avoid loading unnecessary components.
- Updated build script to include Testcontainers dependencies.
This commit is contained in:
2026-02-01 17:55:41 +01:00
parent 82139e0c2f
commit 6c8accb9b6
3 changed files with 105 additions and 0 deletions
@@ -42,6 +42,7 @@ dependencies {
// === Testing ===
testImplementation(libs.bundles.testing.jvm)
testImplementation(libs.bundles.testcontainers) // WICHTIG: Testcontainer Bundle hinzugefügt
testImplementation(libs.spring.boot.starter.test)
testImplementation(libs.spring.security.test)
}