Skip to content

Commit

Permalink
chore: added navIdent to claim in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaflaten committed Nov 28, 2024
1 parent 80ac09c commit 1b33c77
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ class NasjonalOppgaveServiceTest : IntegrationTest() {
val jwt = Jwt.withTokenValue("dummy-token")
.header("alg", "none")
.claim("sub", "test-user")
.claim("NAVident", "test-ident")
.claim("scope", "test-scope")
.build()
val authentication = JwtAuthenticationToken(jwt)
Expand Down

0 comments on commit 1b33c77

Please sign in to comment.