From 23acd21aa37a200faa2f5d5525c974efa6b5676c Mon Sep 17 00:00:00 2001 From: tanner0101 Date: Wed, 18 Apr 2018 15:17:38 -0400 Subject: [PATCH] fix tests --- Tests/WebSocketTests/WebSocketTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }