Skip to content

Commit d99c08e

Browse files
Fix failing test in NimbusReactiveJwtDecoderTests
1 parent 47a54e8 commit d99c08e

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
@@ -140,7 +140,7 @@ public void decodeWhenInvalidUrl() {
140140
// @formatter:off
141141
assertThatIllegalStateException()
142142
.isThrownBy(() -> this.decoder.decode(this.messageReadToken).block())
143-
.withStackTraceContaining(UnknownHostException.class.getName());
143+
.withStackTraceContaining(UnknownHostException.class.getSimpleName());
144144
// @formatter:on
145145
}
146146

0 commit comments

Comments
 (0)