Fix DefaultErrorWebExceptionHandler test
This commit is contained in:
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…
Reference in New Issue