diff --git a/Tests/WebSocketTests/WebSocketTests.swift b/Tests/WebSocketTests/WebSocketTests.swift index d40dee50..d88ce5df 100644 --- a/Tests/WebSocketTests/WebSocketTests.swift +++ b/Tests/WebSocketTests/WebSocketTests.swift @@ -33,7 +33,7 @@ class WebSocketTests: XCTestCase { func testServer() throws { let group = MultiThreadedEventLoopGroup(numThreads: 8) - let ws = WebSocket.httpProtocolUpgrader(shouldUpgrade: { req in + let ws = HTTPServer.webSocketUpgrader(shouldUpgrade: { req in if req.url.path == "/deny" { return nil }