Fix HttpHeaderWriterWebFilterTests
Ensure setComplete() is subscribed to
This commit is contained in:
parent
3fb87d10e9
commit
ffccec953f
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue