Fix rebase

This commit is contained in:
BrennanConroy 2018-10-03 15:30:45 -07:00
parent 3f6c5e3435
commit f02e13fa09
1 changed files with 2 additions and 2 deletions

View File

@ -1075,8 +1075,8 @@ class HubConnectionTest {
MockTransport transport = new MockTransport();
HttpConnectionOptions options = new HttpConnectionOptions();
options.setTransport(transport);
HubConnection hubConnection = new HubConnectionBuilder().withUrl("http://example.com", options)
.configureHttpClient(client).build();
options.setHttpClient(client);
HubConnection hubConnection = new HubConnectionBuilder().withUrl("http://example.com", options).build();
ExecutionException exception = assertThrows(ExecutionException.class, () -> hubConnection.start().get(1000, TimeUnit.MILLISECONDS));
assertEquals("Unexpected status code returned from negotiate: 500 Internal server error.", exception.getCause().getMessage());