From dad59bd5897f604419fb03e9038ed55f6981da68 Mon Sep 17 00:00:00 2001 From: Eziz Annagurban Date: Mon, 4 Sep 2023 08:53:14 +0200 Subject: [PATCH] fix test --- .../src/main/java/no/nav/data/common/jpa/FlywayConfig.java | 2 +- apps/backend/src/main/resources/application-test.properties | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/backend/src/main/java/no/nav/data/common/jpa/FlywayConfig.java b/apps/backend/src/main/java/no/nav/data/common/jpa/FlywayConfig.java index a595d80c7..ea847dd85 100644 --- a/apps/backend/src/main/java/no/nav/data/common/jpa/FlywayConfig.java +++ b/apps/backend/src/main/java/no/nav/data/common/jpa/FlywayConfig.java @@ -15,7 +15,7 @@ @Slf4j @Configuration -@ConditionalOnProperty(value = "vault.enabled", matchIfMissing = true) +//@ConditionalOnProperty(value = "vault.enabled", matchIfMissing = true) public class FlywayConfig { // @Bean diff --git a/apps/backend/src/main/resources/application-test.properties b/apps/backend/src/main/resources/application-test.properties index e6f2fe35e..7876b62fa 100644 --- a/apps/backend/src/main/resources/application-test.properties +++ b/apps/backend/src/main/resources/application-test.properties @@ -11,4 +11,6 @@ client.nom.graphql.url=http://localhost:${wiremock.server.port:8080}/nomgraphql kafka.topics.nom-ressurs=test.nom-ressurser spring.kafka.bootstrap-servers=localhost:9090 -spring.kafka.security.protocol=PLAINTEXT \ No newline at end of file +spring.kafka.security.protocol=PLAINTEXT + +spring.flyway.enabled=true