Hibernate: use default HibernateJpaConfiguration (#2325)

Condifure properties via HibernatePropertiesCustomizer

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2025-03-21 16:48:14 +02:00
committed by GitHub
parent 36d8ab47ad
commit 4e113f9483
3 changed files with 41 additions and 55 deletions

View File

@@ -20,6 +20,7 @@ import org.springframework.http.HttpHeaders;
import org.springframework.test.context.TestPropertySource;
@TestPropertySource(properties = {
"spring.flyway.enabled=true", // if hibernate is used there could be db inconsistencies when executing tests with and without flyway
"hawkbit.server.security.allowedHostNames=localhost",
"hawkbit.server.security.httpFirewallIgnoredPaths=/index.html" })
@Feature("Integration Test - Security")