Should skip negotiate in tests that use fake urls (#2921)
This commit is contained in:
parent
43cbb9edda
commit
f18c1d7159
|
|
@ -49,10 +49,10 @@ public class HubConnectionTest {
|
|||
exceptionRule.expectMessage("Requested protocol 'messagepack' is not available.");
|
||||
|
||||
MockTransport mockTransport = new MockTransport();
|
||||
HubConnection hubConnection = new HubConnection("http://example.com", mockTransport);
|
||||
HubConnection hubConnection = new HubConnection("http://example.com", mockTransport, true);
|
||||
|
||||
hubConnection.start();
|
||||
mockTransport.receiveMessage("{\"error\": \"Requested protocol 'messagepack' is not available.\"}" + RECORD_SEPARATOR);
|
||||
mockTransport.receiveMessage("{\"error\":\"Requested protocol 'messagepack' is not available.\"}" + RECORD_SEPARATOR);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Reference in New Issue