diff options
Diffstat (limited to 'internal/git2go/apply_test.go')
-rw-r--r-- | internal/git2go/apply_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/git2go/apply_test.go b/internal/git2go/apply_test.go index b782cf13e..f14a97daf 100644 --- a/internal/git2go/apply_test.go +++ b/internal/git2go/apply_test.go @@ -8,6 +8,7 @@ import ( "time" "github.com/stretchr/testify/require" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" "gitlab.com/gitlab-org/gitaly/internal/testhelper" @@ -17,7 +18,7 @@ func TestExecutor_Apply(t *testing.T) { pbRepo, repoPath, clean := testhelper.InitBareRepo(t) defer clean() - repo := localrepo.New(pbRepo, config.Config) + repo := localrepo.New(git.NewExecCommandFactory(config.Config), pbRepo, config.Config) executor := New(filepath.Join(config.Config.BinDir, "gitaly-git2go"), config.Config.Git.BinPath) ctx, cancel := testhelper.Context() |