Fix rebase
This commit is contained in:
parent
3f6c5e3435
commit
f02e13fa09
|
|
@ -1075,8 +1075,8 @@ class HubConnectionTest {
|
||||||
MockTransport transport = new MockTransport();
|
MockTransport transport = new MockTransport();
|
||||||
HttpConnectionOptions options = new HttpConnectionOptions();
|
HttpConnectionOptions options = new HttpConnectionOptions();
|
||||||
options.setTransport(transport);
|
options.setTransport(transport);
|
||||||
HubConnection hubConnection = new HubConnectionBuilder().withUrl("http://example.com", options)
|
options.setHttpClient(client);
|
||||||
.configureHttpClient(client).build();
|
HubConnection hubConnection = new HubConnectionBuilder().withUrl("http://example.com", options).build();
|
||||||
|
|
||||||
ExecutionException exception = assertThrows(ExecutionException.class, () -> hubConnection.start().get(1000, TimeUnit.MILLISECONDS));
|
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());
|
assertEquals("Unexpected status code returned from negotiate: 500 Internal server error.", exception.getCause().getMessage());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue