summaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-12-02 22:11:11 +0100
committerGitHub <noreply@github.com>2020-12-02 15:11:11 -0600
commit8396b792f86ec37311e490c97f7a54ed596bce37 (patch)
treebd5a65732def1084576f8f878fd18ff2b071d0bf /integrations
parentd551152582028b1e42d663cf1bc1e9a3a7e38b1e (diff)
downloadgitea-8396b792f86ec37311e490c97f7a54ed596bce37.tar.gz
gitea-8396b792f86ec37311e490c97f7a54ed596bce37.zip
Migrations: Use Process Manager to create own Context (#13793)
Diffstat (limited to 'integrations')
-rw-r--r--integrations/git_helper_for_declarative_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/git_helper_for_declarative_test.go b/integrations/git_helper_for_declarative_test.go
index 5823ce38dc..eeccb16266 100644
--- a/integrations/git_helper_for_declarative_test.go
+++ b/integrations/git_helper_for_declarative_test.go
@@ -111,7 +111,7 @@ func onGiteaRun(t *testing.T, callback func(*testing.T, *url.URL), prepare ...bo
func doGitClone(dstLocalPath string, u *url.URL) func(*testing.T) {
return func(t *testing.T) {
- assert.NoError(t, git.CloneWithArgs(u.String(), dstLocalPath, allowLFSFilters(), git.CloneRepoOptions{}))
+ assert.NoError(t, git.CloneWithArgs(context.Background(), u.String(), dstLocalPath, allowLFSFilters(), git.CloneRepoOptions{}))
assert.True(t, com.IsExist(filepath.Join(dstLocalPath, "README.md")))
}
}