mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 17:59:03 +00:00
Fix DefaultErrorWebExceptionHandler test
This commit is contained in:
+1
-1
@@ -335,7 +335,7 @@ public class DefaultErrorWebExceptionHandlerIntegrationTests {
|
||||
|
||||
@GetMapping("/commit")
|
||||
public Mono<Void> commit(ServerWebExchange exchange) {
|
||||
return exchange.getResponse().writeWith(Mono.empty()).then(
|
||||
return exchange.getResponse().setComplete().then(
|
||||
Mono.error(new IllegalStateException("already committed!")));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user