Skip to content

Commit

Permalink
chore(deps): fix test by expecting a different but similar error mess…
Browse files Browse the repository at this point in the history
…age.
  • Loading branch information
TobiasKampmann committed Jan 9, 2024
1 parent 76c5ff1 commit 3e7f8a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ fun expectUnauthorizedResponse(isModifyingRequest: Boolean = false, apiCall: (jw
.andExpect(
MockMvcResultMatchers.header().string(
"WWW-Authenticate",
Matchers.containsString("Invalid JWT serialization: Missing dot delimiter"),
Matchers.containsString("An error occurred while attempting to decode the Jwt: Malformed token"),
),
)
}
Expand Down

0 comments on commit 3e7f8a4

Please sign in to comment.