Skip to content

Commit

Permalink
Remove outdated test
Browse files Browse the repository at this point in the history
  • Loading branch information
bgoncal committed Feb 21, 2024
1 parent 1f39a71 commit 709cf26
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Tests/HAConnectionInfo.test.swift
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,4 @@ internal class HAConnectionInfoTests: XCTestCase {
XCTAssertEqual(connectionInfo.url, expected)
}
}

func testInvalidURLComponentsURL() throws {
// example of valid URL invalid URLComponents - https://stackoverflow.com/questions/55609012
let url = try XCTUnwrap(URL(string: "a://@@/api/websocket"))
let connectionInfo = try HAConnectionInfo(url: url)
XCTAssertEqual(connectionInfo.url, url)
XCTAssertEqual(connectionInfo.webSocket().request.url, url.appendingPathComponent("api/websocket"))
}
}

0 comments on commit 709cf26

Please sign in to comment.