diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-02-07 13:43:22 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-02-07 14:33:57 +0300 |
commit | bac95e30a22efd0d89045974c813a62af8d2dae0 (patch) | |
tree | 56eeebea48e078acf781addfaf1e9eb7c52c29e1 /internal/gitaly/hook/prereceive_test.go | |
parent | 479690d0de50816007dd95c57ae5b6ef33a0da76 (diff) |
hook: Convert tests to work with SHA256 object format
Convert tests to work with the SHA256 object format by removing the need
for seed repositories.
Diffstat (limited to 'internal/gitaly/hook/prereceive_test.go')
-rw-r--r-- | internal/gitaly/hook/prereceive_test.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/gitaly/hook/prereceive_test.go b/internal/gitaly/hook/prereceive_test.go index 89a5dc656..294c15941 100644 --- a/internal/gitaly/hook/prereceive_test.go +++ b/internal/gitaly/hook/prereceive_test.go @@ -1,5 +1,3 @@ -//go:build !gitaly_test_sha256 - package hook import ( @@ -33,7 +31,6 @@ func TestPrereceive_customHooks(t *testing.T) { repo, repoPath := gittest.CreateRepository(t, ctx, cfg, gittest.CreateRepositoryConfig{ SkipCreationViaService: true, - Seed: gittest.SeedGitLabTest, }) gitCmdFactory := gittest.NewCommandFactory(t, cfg) @@ -186,7 +183,6 @@ func TestPrereceive_quarantine(t *testing.T) { repoProto, repoPath := gittest.CreateRepository(t, ctx, cfg, gittest.CreateRepositoryConfig{ SkipCreationViaService: true, - Seed: gittest.SeedGitLabTest, }) quarantine, err := quarantine.New(ctx, repoProto, config.NewLocator(cfg)) @@ -266,7 +262,6 @@ func TestPrereceive_gitlab(t *testing.T) { repo, repoPath := gittest.CreateRepository(t, ctx, cfg, gittest.CreateRepositoryConfig{ SkipCreationViaService: true, - Seed: gittest.SeedGitLabTest, }) payload, err := git.NewHooksPayload(cfg, repo, nil, &git.UserDetails{ |