Adapt to method name change in Mono
This commit is contained in:
@@ -84,7 +84,7 @@ public class RandomHandlerIntegrationTests extends AbstractHttpHandlerIntegratio
|
||||
Mono<Integer> requestSizeMono = request.getBody().
|
||||
reduce(0, (integer, dataBuffer) -> integer +
|
||||
dataBuffer.readableByteCount()).
|
||||
doAfterTerminate((size, throwable) -> {
|
||||
doOnSuccessOrError((size, throwable) -> {
|
||||
assertNull(throwable);
|
||||
assertEquals(REQUEST_SIZE, (long) size);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user