aboutsummaryrefslogtreecommitdiffstats
path: root/modules/migrations/gitea_test.go
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2020-09-21 09:36:51 -0500
committerGitHub <noreply@github.com>2020-09-21 10:36:51 -0400
commitec6a35aeb1d006c4eb65d8ae149e64dc5ea1c947 (patch)
tree8c9597a19bbdfb9b398c29be5ea73ffd98edc254 /modules/migrations/gitea_test.go
parent2dbca92a0f145ddf6d0e3d4487be28071f6fd792 (diff)
downloadgitea-ec6a35aeb1d006c4eb65d8ae149e64dc5ea1c947.tar.gz
gitea-ec6a35aeb1d006c4eb65d8ae149e64dc5ea1c947.zip
Hopefully support GH enterprise (#12863)
Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'modules/migrations/gitea_test.go')
-rw-r--r--modules/migrations/gitea_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/migrations/gitea_test.go b/modules/migrations/gitea_test.go
index 2dbd8ffd44..8432a1eecd 100644
--- a/modules/migrations/gitea_test.go
+++ b/modules/migrations/gitea_test.go
@@ -28,7 +28,7 @@ func TestGiteaUploadRepo(t *testing.T) {
user := models.AssertExistsAndLoadBean(t, &models.User{ID: 1}).(*models.User)
var (
- downloader = NewGithubDownloaderV3(context.Background(), "", "", "", "go-xorm", "builder")
+ downloader = NewGithubDownloaderV3(context.Background(), "https://github.com", "", "", "", "go-xorm", "builder")
repoName = "builder-" + time.Now().Format("2006-01-02-15-04-05")
uploader = NewGiteaLocalUploader(graceful.GetManager().HammerContext(), user, user.Name, repoName)
)