Skip to content

Commit

Permalink
restClient
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-olaveide committed Jan 12, 2024
1 parent 81fefdc commit 3ebfbeb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import okhttp3.mockwebserver.MockWebServer
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.autoconfigure.web.client.RestClientAutoConfiguration
import org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.mock.mockito.MockBean
Expand All @@ -20,7 +21,7 @@ import no.nav.security.token.support.client.spring.oauth2.ClientConfigurationPro
import no.nav.security.token.support.client.spring.oauth2.TestUtils.jsonResponse
import no.nav.security.token.support.core.context.TokenValidationContextHolder

@SpringBootTest(classes = [OAuth2ClientConfiguration::class, RestTemplateAutoConfiguration::class])
@SpringBootTest(classes = [OAuth2ClientConfiguration::class, RestClientAutoConfiguration::class])
@ContextConfiguration(initializers = [RandomPortInitializer::class])
@ActiveProfiles("test-withwellknownurl")
internal class ClientConfigurationPropertiesTestWithWellKnownUrl {
Expand Down

0 comments on commit 3ebfbeb

Please sign in to comment.