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 d123d627d4
commit 802ad84d30
25 changed files with 852 additions and 20 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