summaryrefslogtreecommitdiffstats
path: root/integrations/mirror_pull_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/mirror_pull_test.go')
-rw-r--r--integrations/mirror_pull_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/mirror_pull_test.go b/integrations/mirror_pull_test.go
index eb798fe2ce..385f0f5a6f 100644
--- a/integrations/mirror_pull_test.go
+++ b/integrations/mirror_pull_test.go
@@ -52,7 +52,7 @@ func TestMirrorPull(t *testing.T) {
mirror, err := repository.MigrateRepositoryGitData(ctx, user, mirrorRepo, opts, nil)
assert.NoError(t, err)
- gitRepo, err := git.OpenRepository(repoPath)
+ gitRepo, err := git.OpenRepository(git.DefaultContext, repoPath)
assert.NoError(t, err)
defer gitRepo.Close()