aboutsummaryrefslogtreecommitdiffstats
path: root/modules/migrations/gogs_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/migrations/gogs_test.go')
-rw-r--r--modules/migrations/gogs_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/migrations/gogs_test.go b/modules/migrations/gogs_test.go
index e5bd634c55..8816fab44f 100644
--- a/modules/migrations/gogs_test.go
+++ b/modules/migrations/gogs_test.go
@@ -112,7 +112,7 @@ func TestGogsDownloadRepo(t *testing.T) {
// downloader.GetComments()
comments, _, err := downloader.GetComments(base.GetCommentOptions{
- IssueNumber: 1,
+ Context: base.BasicIssueContext(1),
})
assert.NoError(t, err)
assertCommentsEqual(t, []*base.Comment{