Skip to content

Commit

Permalink
T - Legger til test-konfigurasjon for gjenny endepunkt
Browse files Browse the repository at this point in the history
  • Loading branch information
dskarpas committed Sep 12, 2024
1 parent a88d1d9 commit 8fc48e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fc48e5

Please sign in to comment.