Fix DefaultErrorWebExceptionHandler test

pull/16707/head
Brian Clozel 6 years ago
parent 4ad837f5dc
commit 1f897ad923

@ -354,7 +354,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!")));
}

Loading…
Cancel
Save