From 20535f99b4f358111e014f5a072456701433451e Mon Sep 17 00:00:00 2001 From: Rein Krul Date: Mon, 23 Oct 2023 06:41:18 +0200 Subject: [PATCH] fix go-leia unit test --- storage/leia_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/leia_test.go b/storage/leia_test.go index e331ee4486..c79b308758 100644 --- a/storage/leia_test.go +++ b/storage/leia_test.go @@ -182,7 +182,7 @@ func newStoreInDir(t *testing.T, testDir string, backupConfig LeiaBackupConfigur backupStorePath := path.Join(testDir, "vcr", "backup-private-credentials.db") backupStore, err := bbolt.CreateBBoltStore(backupStorePath) require.NoError(t, err) - leiaStore, err := leia.NewStore(issuerStorePath) + leiaStore, err := leia.NewStore(issuerStorePath, leia.WithDocumentLoader(jsonld.NewTestJSONLDManager(t).DocumentLoader())) require.NoError(t, err) store, err := NewKVBackedLeiaStore(leiaStore, backupStore) require.NoError(t, err)