Skip to content

Commit

Permalink
tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Redjik committed Aug 19, 2015
1 parent 4fceecb commit fc275bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion api/app/Http/Controllers/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,11 @@ public function unlinkSocialLogin($id, $provider)
/**
* Get full user details
*
* @param Request $request
* @param string $id
* @return \Spira\Responder\Response\ApiResponse
*/
public function getOne($id)
public function getOne(Request $request, $id)
{
$this->validateId($id, $this->getModel()->getKeyName());

Expand Down
2 changes: 0 additions & 2 deletions api/tests/integration/UserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ public function testGetAllPaginatedByAdminUser()
'HTTP_AUTHORIZATION' => 'Bearer '.$token,
'Range' => 'entities=0-19'
]);
$object = json_decode($this->response->getContent());
var_dump($object);exit;
$this->assertResponseStatus(206);
$this->shouldReturnJson();
$this->assertJsonArray();
Expand Down

0 comments on commit fc275bd

Please sign in to comment.