@@ -32,7 +32,7 @@ public function shouldGetOpenPullRequests()
32
32
$ api = $ this ->getApiMock ();
33
33
$ api ->expects ($ this ->once ())
34
34
->method ('get ' )
35
- ->with ('/repos/ezsystems/ezpublish/pulls ' , ['state ' => 'open ' , ' per_page ' => 30 , ' page ' => 1 ])
35
+ ->with ('/repos/ezsystems/ezpublish/pulls ' , ['state ' => 'open ' ])
36
36
->will ($ this ->returnValue ($ expectedArray ));
37
37
38
38
$ this ->assertEquals ($ expectedArray , $ api ->all ('ezsystems ' , 'ezpublish ' , ['state ' => 'open ' ]));
@@ -48,7 +48,7 @@ public function shouldGetClosedPullRequests()
48
48
$ api = $ this ->getApiMock ();
49
49
$ api ->expects ($ this ->once ())
50
50
->method ('get ' )
51
- ->with ('/repos/ezsystems/ezpublish/pulls ' , ['state ' => 'closed ' , ' per_page ' => 30 , ' page ' => 1 ])
51
+ ->with ('/repos/ezsystems/ezpublish/pulls ' , ['state ' => 'closed ' ])
52
52
->will ($ this ->returnValue ($ expectedArray ));
53
53
54
54
$ this ->assertEquals ($ expectedArray , $ api ->all ('ezsystems ' , 'ezpublish ' , ['state ' => 'closed ' ]));
@@ -97,7 +97,7 @@ public function shouldShowFilesFromPullRequest()
97
97
$ api = $ this ->getApiMock ();
98
98
$ api ->expects ($ this ->once ())
99
99
->method ('get ' )
100
- ->with ('/repos/ezsystems/ezpublish/pulls/15/files ' , [ ' page ' => 1 , ' per_page ' => 30 ] )
100
+ ->with ('/repos/ezsystems/ezpublish/pulls/15/files ' )
101
101
->will ($ this ->returnValue ($ expectedArray ));
102
102
103
103
$ this ->assertEquals ($ expectedArray , $ api ->files ('ezsystems ' , 'ezpublish ' , '15 ' ));
0 commit comments