include repo as text fixture, no need to clone from actual github

This commit is contained in:
Lysann Tranvouez 2026-03-08 22:56:21 +01:00
parent 2726ee79a5
commit 4ada2ce69c
24 changed files with 817 additions and 2 deletions

View file

@ -13,9 +13,8 @@ import XCTest
@testable import passKit
final class PasswordStoreTest: XCTestCase {
private let remoteRepoURL = URL(string: "https://github.com/mssun/passforios-password-store.git")!
func testCloneAndDecryptMultiKeys() throws {
let remoteRepoURL = Bundle(for: type(of: self)).resourceURL!.appendingPathComponent("Fixtures/password-store.git")
let url = Globals.sharedContainerURL.appendingPathComponent("Library/password-store-test/")
Defaults.isEnableGPGIDOn = true