diff options
author | 6543 <6543@obermui.de> | 2020-12-02 19:36:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-02 18:36:06 +0000 |
commit | 2b4a08e9621e052845062ecd71ebfd37453c0383 (patch) | |
tree | 31d7ac557f570ea6aba5ca7e5bfd1f28a36f5729 /integrations | |
parent | fd1c3519c3435cbd09a2c065a6eeeb48bd81644e (diff) | |
download | gitea-2b4a08e9621e052845062ecd71ebfd37453c0383.tar.gz gitea-2b4a08e9621e052845062ecd71ebfd37453c0383.zip |
Migrations: Use Process Manager to create own Context (#13792)
Diffstat (limited to 'integrations')
-rw-r--r-- | integrations/git_helper_for_declarative_test.go | 2 |
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 04b4c99013..f681cd143a 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"))) } } |