diff options
author | sotho <alex@segv.de> | 2021-03-28 00:37:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-28 00:37:51 +0100 |
commit | e7609929c18e1107b03bacb3e31049a7cbb6ffc8 (patch) | |
tree | 2cc2ec2b8a3ead75f9ce2907f6e4209c658a55db /integrations | |
parent | 290cf75f9343a43d9770b1d6f8f3332a23357e27 (diff) | |
download | gitea-e7609929c18e1107b03bacb3e31049a7cbb6ffc8.tar.gz gitea-e7609929c18e1107b03bacb3e31049a7cbb6ffc8.zip |
Expose resolver via API (#15167)
* Expose resolver via API
Diffstat (limited to 'integrations')
-rw-r--r-- | integrations/api_pull_review_test.go | 2 |
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()) |