From 429b913dc5519babfab47bf65222e32415a6c1bd Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sat, 12 Aug 2023 13:58:17 +0200 Subject: fix openpgp handling to sign/check --- entity/dag/common_test.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'entity/dag/common_test.go') diff --git a/entity/dag/common_test.go b/entity/dag/common_test.go index 51acfa49..4c7b59f0 100644 --- a/entity/dag/common_test.go +++ b/entity/dag/common_test.go @@ -109,6 +109,12 @@ func makeTestContext() (repository.ClockedRepo, identity.Interface, identity.Int return repo, id1, id2, resolvers, def } +func makeTestContextGoGit(t *testing.T) (repository.ClockedRepo, identity.Interface, identity.Interface, entity.Resolvers, Definition) { + repo := repository.CreateGoGitTestRepo(t, false) + id1, id2, resolvers, def := makeTestContextInternal(repo) + return repo, id1, id2, resolvers, def +} + func makeTestContextRemote(t *testing.T) (repository.ClockedRepo, repository.ClockedRepo, repository.ClockedRepo, identity.Interface, identity.Interface, entity.Resolvers, Definition) { repoA := repository.CreateGoGitTestRepo(t, false) repoB := repository.CreateGoGitTestRepo(t, false) -- cgit