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 /services | |
parent | fd1c3519c3435cbd09a2c065a6eeeb48bd81644e (diff) | |
download | gitea-2b4a08e9621e052845062ecd71ebfd37453c0383.tar.gz gitea-2b4a08e9621e052845062ecd71ebfd37453c0383.zip |
Migrations: Use Process Manager to create own Context (#13792)
Diffstat (limited to 'services')
-rw-r--r-- | services/mirror/mirror_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/mirror/mirror_test.go b/services/mirror/mirror_test.go index 79e18885b3..ddfb6c676b 100644 --- a/services/mirror/mirror_test.go +++ b/services/mirror/mirror_test.go @@ -5,6 +5,7 @@ package mirror import ( + "context" "path/filepath" "testing" @@ -47,7 +48,7 @@ func TestRelease_MirrorDelete(t *testing.T) { }) assert.NoError(t, err) - mirror, err := repository.MigrateRepositoryGitData(user, user, mirrorRepo, opts) + mirror, err := repository.MigrateRepositoryGitData(context.Background(), user, mirrorRepo, opts) assert.NoError(t, err) gitRepo, err := git.OpenRepository(repoPath) |