Skip to content

Commit

Permalink
Merge pull request #25 from IBM-Swift/nio-2.1
Browse files Browse the repository at this point in the history
tests: update to swift-nio 2.1
  • Loading branch information
Pushkar N Kulkarni authored May 17, 2019
2 parents 026e018 + fd2c1ff commit 84b4591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/KituraWebSocketTests/KituraTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import XCTest

import LoggerAPI
@testable import KituraWebSocket
@testable import KituraNet
import KituraNet
import Cryptor
import NIO
import NIOHTTP1
Expand Down Expand Up @@ -120,7 +120,7 @@ class KituraTest: XCTestCase {

do {
let channel = try clientBootstrap.connect(host: "localhost", port: 8080).wait()
var request = HTTPRequestHead(version: HTTPVersion(major: 1, minor: 1), method: HTTPMethod.method(from: "GET"), uri: toPath)
var request = HTTPRequestHead(version: HTTPVersion(major: 1, minor: 1), method: HTTPMethod(rawValue: "GET"), uri: toPath)
var headers = HTTPHeaders()
headers.add(name: "Host", value: "localhost:8080")
headers.add(name: "Upgrade", value: "websocket")
Expand Down

0 comments on commit 84b4591

Please sign in to comment.