File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/com/spotify/github/v3/clients Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -449,11 +449,11 @@ public void testListComments() throws Throwable {
449
449
final String expectedBody = "[" + getFixture ("pull_request_review_comment_reply.json" ) + "]" ;
450
450
451
451
final String pageLink =
452
- "<https://github.com/api/v3/repos/owner/repo/pulls/1/comments>; rel=\" first\" " ;
452
+ "<https://github.com/api/v3/repos/owner/repo/pulls/1/comments?page=1&per_page=30 >; rel=\" first\" " ;
453
453
454
454
final HttpResponse firstPageResponse = createMockResponse (pageLink , expectedBody );
455
455
456
- when (mockGithub .request ("/repos/owner/repo/pulls/1/comments" ))
456
+ when (mockGithub .request ("/repos/owner/repo/pulls/1/comments?per_page=30 " ))
457
457
.thenReturn (completedFuture (firstPageResponse ));
458
458
459
459
when (mockGithub .json ()).thenReturn (github .json ());
You can’t perform that action at this time.
0 commit comments