Browse Source

Fixed issue where TLS tests were failing on iOS 10.0 and not on iOS 10.1.

Christian Noon 9 years ago
parent
commit
e3063b5704
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Tests/TLSEvaluationTests.swift

+ 2 - 2
Tests/TLSEvaluationTests.swift

@@ -295,7 +295,7 @@ class TLSEvaluationExpiredLeafCertificateTestCase: BaseTestCase {
 
         // Then
     #if os(iOS) || os(macOS)
-        if #available(iOS 10.0, macOS 10.12.0, *) {
+        if #available(iOS 10.1, macOS 10.12.0, *) {
             XCTAssertNotNil(error, "error should not be nil")
         } else {
             XCTAssertNil(error, "error should be nil")
@@ -423,7 +423,7 @@ class TLSEvaluationExpiredLeafCertificateTestCase: BaseTestCase {
 
         // Then
     #if os(iOS) || os(macOS)
-        if #available(iOS 10.0, macOS 10.12.0, *) {
+        if #available(iOS 10.1, macOS 10.12.0, *) {
             XCTAssertNotNil(error, "error should not be nil")
         } else {
             XCTAssertNil(error, "error should be nil")