Fix Http tests for the latest SF
https://build.spring.io/browse/INT-MJATS41-1306/
This commit is contained in:
@@ -856,6 +856,7 @@ public class HttpRequestExecutingMessageHandlerTests {
|
||||
|
||||
ClientHttpResponse response = mock(ClientHttpResponse.class);
|
||||
when(response.getStatusCode()).thenReturn(HttpStatus.NOT_FOUND);
|
||||
when(response.getRawStatusCode()).thenReturn(HttpStatus.NOT_FOUND.value());
|
||||
when(response.getStatusText()).thenReturn("Not Found");
|
||||
when(response.getBody()).thenReturn(new ByteArrayInputStream(new byte[0]));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user