diff options
author | Michael Muré <batolettre@gmail.com> | 2023-08-12 13:58:17 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2023-08-12 13:58:17 +0200 |
commit | 429b913dc5519babfab47bf65222e32415a6c1bd (patch) | |
tree | 9a39ab11d0373caeaf34f2d06188c481d27f67d7 /entity/dag/common_test.go | |
parent | de8d2c139c8cddf5ba8b62186605deb6d8d46e72 (diff) | |
download | git-bug-429b913dc5519babfab47bf65222e32415a6c1bd.tar.gz |
fix openpgp handling to sign/check
Diffstat (limited to 'entity/dag/common_test.go')
-rw-r--r-- | entity/dag/common_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
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) |