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)
401
401
*/
402
402
public function users ($ project_id , array $ parameters = [])
403
403
{
404
- return $ this ->get ($ this ->getProjectPath ($ project_id , 'users ' ), $ parameters );
404
+ return $ this ->get ($ this ->getProjectPath ($ project_id , 'users ' ), $ parameters );
405
405
}
406
406
407
407
/**
Original file line number Diff line number Diff line change @@ -294,15 +294,15 @@ public function shouldGetProjectIssues()
294
294
*/
295
295
public function shouldGetProjectUsers ()
296
296
{
297
- $ expectedArray = $ this ->getProjectUsersExpectedArray ();
297
+ $ expectedArray = $ this ->getProjectUsersExpectedArray ();
298
298
299
- $ api = $ this ->getApiMock ();
300
- $ api ->expects ($ this ->once ())
299
+ $ api = $ this ->getApiMock ();
300
+ $ api ->expects ($ this ->once ())
301
301
->method ('get ' )
302
302
->with ('projects/1/users ' )
303
303
->will ($ this ->returnValue ($ expectedArray ));
304
304
305
- $ this ->assertEquals ($ expectedArray , $ api ->users (1 ));
305
+ $ this ->assertEquals ($ expectedArray , $ api ->users (1 ));
306
306
}
307
307
308
308
/**
@@ -402,8 +402,9 @@ public function getProjectIssuesExpectedArray()
402
402
*
403
403
* @return array
404
404
*/
405
- public function getProjectUsersExpectedArray () {
406
- return [
405
+ public function getProjectUsersExpectedArray ()
406
+ {
407
+ return [
407
408
[
408
409
'id ' => 1 ,
409
410
'name ' => 'John Doe ' ,
You can’t perform that action at this time.
0 commit comments