Fix HttpHeaderWriterWebFilterTests

Ensure setComplete() is subscribed to
This commit is contained in:
Rob Winch 2020-01-09 14:24:35 -06:00
parent 3fb87d10e9
commit ffccec953f
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public class HttpHeaderWriterWebFilterTests {
verify(writer, never()).writeHttpHeaders(any());
result.getExchange().getResponse().setComplete();
result.getExchange().getResponse().setComplete().block();
verify(writer).writeHttpHeaders(any());
}