Skip to content

Commit 09a58a5

Browse files
committed
Polish
1 parent 10f4ad1 commit 09a58a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseEntityExceptionHandlerTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ void customExceptionToProblemDetailViaMessageSource() {
172172
.acceptLanguageAsLocales(locale).build());
173173

174174
ResponseEntity<?> responseEntity =
175-
this.exceptionHandler.handleException(new IllegalStateException(), exchange).block();
175+
this.exceptionHandler.handleException(new IllegalStateException("test"), exchange).block();
176176

177177
ProblemDetail body = (ProblemDetail) responseEntity.getBody();
178178
assertThat(body.getDetail()).isEqualTo("Invalid state: A");

0 commit comments

Comments
 (0)