aboutsummaryrefslogtreecommitdiffstats
path: root/services/migrations/codebase_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/migrations/codebase_test.go')
-rw-r--r--services/migrations/codebase_test.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/services/migrations/codebase_test.go b/services/migrations/codebase_test.go
index ef39b9f146..cb70a2bf75 100644
--- a/services/migrations/codebase_test.go
+++ b/services/migrations/codebase_test.go
@@ -108,9 +108,7 @@ func TestCodebaseDownloadRepo(t *testing.T) {
},
}, issues)
- comments, _, err := downloader.GetComments(base.GetCommentOptions{
- Context: issues[0].Context,
- })
+ comments, _, err := downloader.GetComments(issues[0])
assert.NoError(t, err)
assertCommentsEqual(t, []*base.Comment{
{
@@ -148,7 +146,7 @@ func TestCodebaseDownloadRepo(t *testing.T) {
},
}, prs)
- rvs, err := downloader.GetReviews(prs[0].Context)
+ rvs, err := downloader.GetReviews(prs[0])
assert.NoError(t, err)
assert.Empty(t, rvs)
}