summaryrefslogtreecommitdiffstats
path: root/modules/migrations/gitea_uploader_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/migrations/gitea_uploader_test.go')
-rw-r--r--modules/migrations/gitea_uploader_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/migrations/gitea_uploader_test.go b/modules/migrations/gitea_uploader_test.go
index 5f36d54584..2f854ba368 100644
--- a/modules/migrations/gitea_uploader_test.go
+++ b/modules/migrations/gitea_uploader_test.go
@@ -54,14 +54,14 @@ func TestGiteaUploadRepo(t *testing.T) {
assert.True(t, repo.HasWiki())
assert.EqualValues(t, models.RepositoryReady, repo.Status)
- milestones, err := models.GetMilestones(models.GetMilestonesOption{
+ milestones, _, err := models.GetMilestones(models.GetMilestonesOption{
RepoID: repo.ID,
State: structs.StateOpen,
})
assert.NoError(t, err)
assert.Len(t, milestones, 1)
- milestones, err = models.GetMilestones(models.GetMilestonesOption{
+ milestones, _, err = models.GetMilestones(models.GetMilestonesOption{
RepoID: repo.ID,
State: structs.StateClosed,
})