Commit 0b4934d1 authored by Brian Clozel's avatar Brian Clozel

Fix DefaultErrorWebExceptionHandler test

parent c4024d8b
......@@ -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!")));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment