summaryrefslogtreecommitdiffstats
path: root/integrations/api_pull_review_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/api_pull_review_test.go')
-rw-r--r--integrations/api_pull_review_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_pull_review_test.go b/integrations/api_pull_review_test.go
index 8be194602f..19b05d545b 100644
--- a/integrations/api_pull_review_test.go
+++ b/integrations/api_pull_review_test.go
@@ -66,7 +66,7 @@ func TestAPIPullReview(t *testing.T) {
var reviewComments []*api.PullReviewComment
DecodeJSON(t, resp, &reviewComments)
assert.Len(t, reviewComments, 1)
- assert.EqualValues(t, "Ghost", reviewComments[0].Reviewer.UserName)
+ assert.EqualValues(t, "Ghost", reviewComments[0].Poster.UserName)
assert.EqualValues(t, "a review from a deleted user", reviewComments[0].Body)
assert.EqualValues(t, comment.ID, reviewComments[0].ID)
assert.EqualValues(t, comment.UpdatedUnix, reviewComments[0].Updated.Unix())