From cded034bbb02c204177126092f057a480266f7ca Mon Sep 17 00:00:00 2001 From: Peter Brottveit Bock Date: Fri, 13 Oct 2023 12:04:17 +0200 Subject: [PATCH] =?UTF-8?q?Fjern=20un=C3=B8dvendige=20ActiveProfiles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../arbeidsgiver/min_side/kontaktinfo/KontaktinfoClientTest.kt | 1 - .../min_side/tilgangsstyring/AltinnRollerClientTest.kt | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/test/kotlin/no/nav/arbeidsgiver/min_side/kontaktinfo/KontaktinfoClientTest.kt b/src/test/kotlin/no/nav/arbeidsgiver/min_side/kontaktinfo/KontaktinfoClientTest.kt index a8ef0688..cc94889d 100644 --- a/src/test/kotlin/no/nav/arbeidsgiver/min_side/kontaktinfo/KontaktinfoClientTest.kt +++ b/src/test/kotlin/no/nav/arbeidsgiver/min_side/kontaktinfo/KontaktinfoClientTest.kt @@ -8,7 +8,6 @@ import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.autoconfigure.web.client.RestClientTest import org.springframework.http.HttpMethod import org.springframework.http.MediaType.APPLICATION_JSON -import org.springframework.test.context.ActiveProfiles import org.springframework.test.web.client.MockRestServiceServer import org.springframework.test.web.client.response.MockRestResponseCreators.withBadRequest import org.springframework.test.web.client.response.MockRestResponseCreators.withSuccess diff --git a/src/test/kotlin/no/nav/arbeidsgiver/min_side/tilgangsstyring/AltinnRollerClientTest.kt b/src/test/kotlin/no/nav/arbeidsgiver/min_side/tilgangsstyring/AltinnRollerClientTest.kt index ce0b5f86..62ef9c32 100644 --- a/src/test/kotlin/no/nav/arbeidsgiver/min_side/tilgangsstyring/AltinnRollerClientTest.kt +++ b/src/test/kotlin/no/nav/arbeidsgiver/min_side/tilgangsstyring/AltinnRollerClientTest.kt @@ -7,7 +7,6 @@ import org.junit.jupiter.api.assertThrows import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.autoconfigure.web.client.RestClientTest import org.springframework.http.MediaType -import org.springframework.test.context.ActiveProfiles import org.springframework.test.web.client.MockRestServiceServer import org.springframework.test.web.client.response.MockRestResponseCreators.withSuccess import java.lang.IllegalArgumentException @@ -17,7 +16,6 @@ import java.lang.IllegalArgumentException AltinnRollerClient::class, MaskinportenTokenServiceStub::class, ) -@ActiveProfiles("local") class AltinnRollerClientTest { @Autowired lateinit var altinnServer: MockRestServiceServer