Skip to content

Commit

Permalink
Fix tests on Xcode 11
Browse files Browse the repository at this point in the history
  • Loading branch information
dfed authored Jan 14, 2020
1 parent 0c9799c commit ad3ab18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/ValetIntegrationTests/ValetIntegrationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class ValetIntegrationTests: XCTestCase
let valet = Valet.valet(with: Identifier(nonEmpty: "DataProtectionTest")!, accessibility: .afterFirstUnlock)
var dataProtectionWriteQuery = valet.keychainQuery
#if swift(>=5.1)
preCatalinaWriteQuery[kSecUseDataProtectionKeychain as String] = nil
dataProtectionWriteQuery[kSecUseDataProtectionKeychain as String] = nil
#else
dataProtectionWriteQuery["nleg"] = nil // kSecUseDataProtectionKeychain for Xcode 9 and Xcode 10 compatibility.
#endif
Expand Down

0 comments on commit ad3ab18

Please sign in to comment.