Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Fjern sport av no.nav.common.featuretoggle.UnleashClient
Browse files Browse the repository at this point in the history
  • Loading branch information
jstnhlj committed Nov 30, 2023
1 parent 17b9617 commit 44a27ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import io.mockk.mockkStatic
import io.mockk.verify
import javax.servlet.http.HttpServletRequest
import no.nav.common.auth.context.AuthContextHolder
import no.nav.common.featuretoggle.UnleashClient
import no.nav.fo.veilarbregistrering.autorisasjon.TilgangskontrollService
import no.nav.fo.veilarbregistrering.besvarelse.Besvarelse
import no.nav.fo.veilarbregistrering.besvarelse.HelseHinderSvar
Expand Down Expand Up @@ -132,7 +131,7 @@ private class OrdinaerBrukerRegistreringResourceConfig {
}

@Bean
fun unleashClient(): UnleashClient = mockk(relaxed = true)
fun unleashClient(): Unleash = mockk(relaxed = true)

@Bean
fun pdlOppslagGateway(): PdlOppslagGateway = mockk()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import io.mockk.mockkStatic
import javax.servlet.http.HttpServletRequest
import kotlin.test.assertNotNull
import no.nav.common.auth.context.AuthContextHolder
import no.nav.common.featuretoggle.UnleashClient
import no.nav.fo.veilarbregistrering.arbeidssoker.perioder.resources.Fnr
import no.nav.fo.veilarbregistrering.autorisasjon.TilgangskontrollService
import no.nav.fo.veilarbregistrering.bruker.Foedselsnummer
Expand Down Expand Up @@ -124,7 +123,7 @@ private class ReaktiveringResourceConfig {
)

@Bean
fun unleashClient(): UnleashClient = mockk(relaxed = true)
fun unleashClient(): Unleash = mockk(relaxed = true)

@Bean
fun pdlOppslagGateway(): PdlOppslagGateway = mockk()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import io.mockk.mockkStatic
import io.mockk.verify
import javax.servlet.http.HttpServletRequest
import no.nav.common.auth.context.AuthContextHolder
import no.nav.common.featuretoggle.UnleashClient
import no.nav.fo.veilarbregistrering.FileToJson
import no.nav.fo.veilarbregistrering.autorisasjon.TilgangskontrollService
import no.nav.fo.veilarbregistrering.besvarelse.Besvarelse
Expand Down Expand Up @@ -124,7 +123,7 @@ private class SykmeldtResourceConfig {
fun tilgangskontrollService(): TilgangskontrollService = mockk(relaxed = true)

@Bean
fun unleashClient(): UnleashClient = mockk(relaxed = true)
fun unleashClient(): Unleash = mockk(relaxed = true)

@Bean
fun pdlOppslagGateway(): PdlOppslagGateway = mockk()
Expand Down

0 comments on commit 44a27ff

Please sign in to comment.