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 17b6bb8bc2
commit 85972a02c3
11 changed files with 26 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