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

@ -0,0 +1 @@
925eb0f6b19282b5f10dfe008e0062b4be6dd41a not-for-merge branch 'master' of https://github.com/mssun/passforios-password-store

View file

@ -0,0 +1 @@
ref: refs/heads/master

View file

@ -0,0 +1,9 @@
[core]
repositoryformatversion = 0
filemode = true
bare = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = https://github.com/mssun/passforios-password-store.git
fetch = +refs/heads/*:refs/remotes/origin/*

View file

@ -0,0 +1 @@
Example password store repository for passforios tests.

View file

@ -0,0 +1,6 @@
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~

View file

@ -0,0 +1,2 @@
# pack-refs with: peeled fully-peeled sorted
925eb0f6b19282b5f10dfe008e0062b4be6dd41a refs/heads/master

View file

@ -0,0 +1 @@
925eb0f6b19282b5f10dfe008e0062b4be6dd41a

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