Skip to content

Commit

Permalink
oppgraderer Altinn client til å bruke maskinporten client
Browse files Browse the repository at this point in the history
  • Loading branch information
mettok committed Jul 17, 2024
1 parent 8c7e558 commit 9ee0773
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 5 additions & 2 deletions altinn/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
dependencies {
val altinnClientVersion: String by project
val maskinportenClientVersion: String by project
val mockwebserverVersion: String by project
val nimbusJoseJwtVersion: String by project

implementation("no.nav.helsearbeidsgiver:altinn-client:$altinnClientVersion")
implementation("no.nav.helsearbeidsgiver:maskinporten-client:$maskinportenClientVersion")
testImplementation("com.nimbusds:nimbus-jose-jwt:9.40")
testImplementation("com.squareup.okhttp3:mockwebserver:5.0.0-alpha.14")
testImplementation("com.nimbusds:nimbus-jose-jwt:$nimbusJoseJwtVersion")
testImplementation("com.squareup.okhttp3:mockwebserver:$mockwebserverVersion")

}
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ mockkVersion=1.13.11
rapidsAndRiversVersion=2024061408021718344972.64ebbdb34321
tokenProviderVersion=0.4.0
utilsVersion=0.9.0
mockwebserverVersion=5.0.0-alpha.14
nimbusJoseJwtVersion=9.40

# Client dependency versions
aaregClientVersion=0.7.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ class ForespoerselMottattIT : EndToEndTest() {
}

private object Mock {
var FNR = "fnr-rebekka"
const val FNR = "fnr-rebekka"
const val ORGNR = "orgnr-gås"

val forespoerselId = UUID.randomUUID()
val forespoerselId: UUID = UUID.randomUUID()
val transaksjonId: UUID = UUID.randomUUID()
}
}

0 comments on commit 9ee0773

Please sign in to comment.