Rename ignore .gpg-id switch to enalbe .gpg-id
This commit is contained in:
parent
f539d2ccfc
commit
b49593e87f
5 changed files with 21 additions and 21 deletions
|
|
@ -16,7 +16,7 @@ class PasswordStoreTest: XCTestCase {
|
|||
|
||||
func testCloneAndDecryptMultiKeys() throws {
|
||||
let url = URL(fileURLWithPath: "\(Globals.repositoryPath)-test")
|
||||
Defaults.isIgnoreGPGIDOn = false
|
||||
Defaults.isEnableGPGIDOn = true
|
||||
let passwordStore = PasswordStore(url: url)
|
||||
try passwordStore.cloneRepository(remoteRepoURL: remoteRepoURL, branchName: "master")
|
||||
expectation(for: NSPredicate { _, _ in FileManager.default.fileExists(atPath: url.path) }, evaluatedWith: nil)
|
||||
|
|
@ -47,7 +47,7 @@ class PasswordStoreTest: XCTestCase {
|
|||
XCTAssertEqual(testPasswordPlain.plainText, "testpassword")
|
||||
|
||||
passwordStore.erase()
|
||||
Defaults.isIgnoreGPGIDOn = true
|
||||
Defaults.isEnableGPGIDOn = false
|
||||
}
|
||||
|
||||
private func decrypt(passwordStore: PasswordStore, path: String, passphrase _: String) throws -> Password {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue