File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ public function hook($project_id, $hook_id)
401401 */
402402 public function users ($ project_id , array $ parameters = [])
403403 {
404- return $ this ->get ($ this ->getProjectPath ($ project_id , 'users ' ), $ parameters );
404+ return $ this ->get ($ this ->getProjectPath ($ project_id , 'users ' ), $ parameters );
405405 }
406406
407407 /**
Original file line number Diff line number Diff line change @@ -294,15 +294,15 @@ public function shouldGetProjectIssues()
294294 */
295295 public function shouldGetProjectUsers ()
296296 {
297- $ expectedArray = $ this ->getProjectUsersExpectedArray ();
297+ $ expectedArray = $ this ->getProjectUsersExpectedArray ();
298298
299- $ api = $ this ->getApiMock ();
300- $ api ->expects ($ this ->once ())
299+ $ api = $ this ->getApiMock ();
300+ $ api ->expects ($ this ->once ())
301301 ->method ('get ' )
302302 ->with ('projects/1/users ' )
303303 ->will ($ this ->returnValue ($ expectedArray ));
304304
305- $ this ->assertEquals ($ expectedArray , $ api ->users (1 ));
305+ $ this ->assertEquals ($ expectedArray , $ api ->users (1 ));
306306 }
307307
308308 /**
@@ -402,8 +402,9 @@ public function getProjectIssuesExpectedArray()
402402 *
403403 * @return array
404404 */
405- public function getProjectUsersExpectedArray () {
406- return [
405+ public function getProjectUsersExpectedArray ()
406+ {
407+ return [
407408 [
408409 'id ' => 1 ,
409410 'name ' => 'John Doe ' ,
You can’t perform that action at this time.
0 commit comments