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 {
449449 final String expectedBody = "[" + getFixture ("pull_request_review_comment_reply.json" ) + "]" ;
450450
451451 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\" " ;
453453
454454 final HttpResponse firstPageResponse = createMockResponse (pageLink , expectedBody );
455455
456- when (mockGithub .request ("/repos/owner/repo/pulls/1/comments" ))
456+ when (mockGithub .request ("/repos/owner/repo/pulls/1/comments?per_page=30 " ))
457457 .thenReturn (completedFuture (firstPageResponse ));
458458
459459 when (mockGithub .json ()).thenReturn (github .json ());
You can’t perform that action at this time.
0 commit comments