diff options
Diffstat (limited to 'modules/migrations/gitea_test.go')
-rw-r--r-- | modules/migrations/gitea_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/migrations/gitea_test.go b/modules/migrations/gitea_test.go index 73c119a15d..438902f320 100644 --- a/modules/migrations/gitea_test.go +++ b/modules/migrations/gitea_test.go @@ -10,6 +10,7 @@ import ( "time" "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/graceful" "code.gitea.io/gitea/modules/structs" "code.gitea.io/gitea/modules/util" @@ -27,7 +28,7 @@ func TestGiteaUploadRepo(t *testing.T) { var ( downloader = NewGithubDownloaderV3("", "", "go-xorm", "builder") repoName = "builder-" + time.Now().Format("2006-01-02-15-04-05") - uploader = NewGiteaLocalUploader(user, user.Name, repoName) + uploader = NewGiteaLocalUploader(graceful.GetManager().HammerContext(), user, user.Name, repoName) ) err := migrateRepository(downloader, uploader, structs.MigrateRepoOption{ |