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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy