diff options
Diffstat (limited to 'services/migrations/gogs_test.go')
-rw-r--r-- | services/migrations/gogs_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/services/migrations/gogs_test.go b/services/migrations/gogs_test.go index f9d74d3be3..501161b610 100644 --- a/services/migrations/gogs_test.go +++ b/services/migrations/gogs_test.go @@ -111,9 +111,7 @@ func TestGogsDownloadRepo(t *testing.T) { }, issues) // downloader.GetComments() - comments, _, err := downloader.GetComments(base.GetCommentOptions{ - Context: base.BasicIssueContext(1), - }) + comments, _, err := downloader.GetComments(&base.Issue{Number: 1, ForeignIndex: 1}) assert.NoError(t, err) assertCommentsEqual(t, []*base.Comment{ { |