You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -749,13 +749,13 @@ class HTTPClientTests: XCTestCase {
749
749
XCTAssertNoThrow(try httpBin.shutdown())
750
750
}
751
751
752
-
XCTAssertThrowsError(try httpClient.get(url:"http://localhost:\(httpBin.port)/redirect/infinite1").wait(),"Should fail with redirect limit"){ error in
752
+
XCTAssertThrowsError(try httpClient.get(url:"https://localhost:\(httpBin.port)/redirect/infinite1").wait(),"Should fail with redirect limit"){ error in
@@ -764,7 +764,7 @@ class HTTPClientTests: XCTestCase {
764
764
XCTAssertNoThrow(try httpBin.shutdown())
765
765
}
766
766
767
-
XCTAssertThrowsError(try httpClient.get(url:"http://localhost:\(httpBin.port)/redirect/infinite1").wait(),"Should fail with redirect limit"){ error in
767
+
XCTAssertThrowsError(try httpClient.get(url:"https://localhost:\(httpBin.port)/redirect/infinite1").wait(),"Should fail with redirect limit"){ error in
0 commit comments