From 8fc48e576c21f0517647c0c47fdcdcb57478ebe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Skarp=C3=A5s?= Date: Thu, 12 Sep 2024 13:54:46 +0200 Subject: [PATCH] T - Legger til test-konfigurasjon for gjenny endepunkt --- .../eessi/pensjon/integrasjonstest/ConfigRestTemplateTest.kt | 4 ++-- src/test/resources/application-test.yml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/test/kotlin/no/nav/eessi/pensjon/integrasjonstest/ConfigRestTemplateTest.kt b/src/test/kotlin/no/nav/eessi/pensjon/integrasjonstest/ConfigRestTemplateTest.kt index 4f5af9096..4a8baafde 100644 --- a/src/test/kotlin/no/nav/eessi/pensjon/integrasjonstest/ConfigRestTemplateTest.kt +++ b/src/test/kotlin/no/nav/eessi/pensjon/integrasjonstest/ConfigRestTemplateTest.kt @@ -58,9 +58,9 @@ import org.springframework.web.client.RestTemplate @MockkBeans( MockkBean(name = "navansattRestTemplate", classes = [RestTemplate::class]), MockkBean(name = "bestemSakOidcRestTemplate", classes = [RestTemplate::class]), - MockkBean(name = "safGraphQlOidcRestTemplate", classes = [RestTemplate::class]), - MockkBean(name = "etterlatteRestTemplate", classes = [RestTemplate::class]), + MockkBean(name = "safGraphQlOidcRestTemplate", classes = [RestTemplate::class]) ) + internal class ConfigRestTemplateTest { @Autowired diff --git a/src/test/resources/application-test.yml b/src/test/resources/application-test.yml index c71c14e74..afa8ebcee 100644 --- a/src/test/resources/application-test.yml +++ b/src/test/resources/application-test.yml @@ -45,11 +45,10 @@ METRICS_REQUESTFILTER_ENABLE: false #REST TEMPLATE URLS PDL_URL: http://localhost NAVANSATT_URL: http://localhost +ETTERLATTE_URL: http://localhost SAF_GRAPHQL_URL: http://localhost EUX_RINA_API_V1_URL: http://localhost NAIS_APP_NAME: eessi-pensjon-journalforing -ETTERLATTE_URL: http://localhost:${mockServerport} - securitytokenservice.url: http://someurl srvusername: someuser srvpassword: somepass