mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-08-06 09:39:44 +08:00
Migrations: Use Process Manager to create own Context (#13792)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user