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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user