Skip to content

Commit a32d19e

Browse files
committed
Polish NimbusReactiveJwtDecoderTests
Issue: gh-5650
1 parent 8eedb39 commit a32d19e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2/oauth2-jose/src/test/java/org/springframework/security/oauth2/jwt/NimbusReactiveJwtDecoderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public void decodeWhenUsingCustomValidatorThenValidatorIsInvoked() {
172172
OAuth2TokenValidatorResult result = OAuth2TokenValidatorResult.failure(error);
173173
when(jwtValidator.validate(any(Jwt.class))).thenReturn(result);
174174

175-
assertThatCode(() -> this.decoder.decode(messageReadToken).block())
175+
assertThatCode(() -> this.decoder.decode(this.messageReadToken).block())
176176
.isInstanceOf(JwtException.class)
177177
.hasMessageContaining("mock-description");
178178
}

0 commit comments

Comments
 (0)