Skip to content

Commit b00ab8b

Browse files
committed
tests: Fix StarWarsSubscriptionTests to use updated MockWebSocket initializer
1 parent 3b01022 commit b00ab8b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Tests/ApolloServerIntegrationTests/StarWarsSubscriptionTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,8 @@ class StarWarsSubscriptionTests: XCTestCase {
411411
func testConcurrentConnectAndCloseConnection() {
412412
let webSocketTransport = WebSocketTransport(
413413
websocket: MockWebSocket(
414-
request: URLRequest(url: TestServerURL.starWarsWebSocket.url)
414+
request: URLRequest(url: TestServerURL.starWarsWebSocket.url),
415+
protocol: .graphql_ws
415416
),
416417
store: ApolloStore()
417418
)

0 commit comments

Comments
 (0)