Fix HttpHeaderWriterWebFilterTests
Ensure setComplete() is subscribed to
This commit is contained in:
parent
b754a3d635
commit
29182abb34
|
@ -67,7 +67,7 @@ public class HttpHeaderWriterWebFilterTests {
|
||||||
|
|
||||||
verify(writer, never()).writeHttpHeaders(any());
|
verify(writer, never()).writeHttpHeaders(any());
|
||||||
|
|
||||||
result.getExchange().getResponse().setComplete();
|
result.getExchange().getResponse().setComplete().block();
|
||||||
|
|
||||||
verify(writer).writeHttpHeaders(any());
|
verify(writer).writeHttpHeaders(any());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue