spring 5 updates

This commit is contained in:
Spencer Gibb
2017-06-08 12:32:52 -06:00
parent 3bfc90a8bb
commit c046901d8f

View File

@@ -398,7 +398,7 @@ public class RestClientRibbonCommandIntegrationTests extends ZuulProxyTestBase {
if (this.errorCode == 503) {
throw new ClientException(ClientException.ErrorType.SERVER_THROTTLED);
}
return new MockClientHttpResponse((byte[]) null,
return new MockClientHttpResponse(new byte[0],
HttpStatus.valueOf(this.errorCode));
}
}