diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b404e888..11bb0ea9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ name: Build & Test env: - XCODE_VERSION: "Xcode_15.3" + XCODE_VERSION: "Xcode_15.4" on: push: @@ -21,4 +21,3 @@ jobs: - name: Fastlane run: fastlane tests - diff --git a/Tests/UBFoundationTests/Networking/UBSessionTests.swift b/Tests/UBFoundationTests/Networking/UBSessionTests.swift index 5e7cfad4..ea20262e 100644 --- a/Tests/UBFoundationTests/Networking/UBSessionTests.swift +++ b/Tests/UBFoundationTests/Networking/UBSessionTests.swift @@ -26,24 +26,6 @@ class UBSessionTests: XCTestCase { return testBundle }() - func testRedirection() { - let ex = expectation(description: "s") - let url = URL(string: "http://ubique.ch")! - let dataTask = UBURLDataTask(url: url, session: Networking.sharedLowPrioritySession) - dataTask.addCompletionHandler(decoder: .passthrough) { result, response, _, _ in - switch result { - case .success: - break - case let .failure(error): - XCTFail(error.localizedDescription) - } - XCTAssertEqual(response?.statusCode.ub_standardHTTPCode, UBStandardHTTPCode.ok) - ex.fulfill() - } - dataTask.start() - waitForExpectations(timeout: 30, handler: nil) - } - func testURLValidationFailed() { let ex = expectation(description: "s") let url = URL(string: "https://www.ubique.ch")! diff --git a/Tests/UBFoundationTests/TestResources/NetworkingTestBundle/*.ubique.ch.cer b/Tests/UBFoundationTests/TestResources/NetworkingTestBundle/*.ubique.ch.cer deleted file mode 100644 index c608e9ba..00000000 Binary files a/Tests/UBFoundationTests/TestResources/NetworkingTestBundle/*.ubique.ch.cer and /dev/null differ diff --git a/Tests/UBFoundationTests/TestResources/NetworkingTestBundle/ISRG Root X1.cer b/Tests/UBFoundationTests/TestResources/NetworkingTestBundle/ISRG Root X1.cer new file mode 100644 index 00000000..9d2132e7 Binary files /dev/null and b/Tests/UBFoundationTests/TestResources/NetworkingTestBundle/ISRG Root X1.cer differ diff --git a/Tests/UBFoundationTests/TestResources/NetworkingTestBundle/ubique.ch.cer b/Tests/UBFoundationTests/TestResources/NetworkingTestBundle/ubique.ch.cer deleted file mode 100644 index f2d5fb02..00000000 Binary files a/Tests/UBFoundationTests/TestResources/NetworkingTestBundle/ubique.ch.cer and /dev/null differ