Skip to content

Commit

Permalink
Check against proper error code
Browse files Browse the repository at this point in the history
  • Loading branch information
askvortsov1 committed Jan 27, 2021
1 parent 7fccf44 commit 68b9e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/api/users/ShowTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function guest_can_see_user_by_id_if_allowed()
$this->request('GET', '/api/users/2')
);

$this->assertEquals(404, $response->getStatusCode());
$this->assertEquals(403, $response->getStatusCode());
}

/**
Expand Down

0 comments on commit 68b9e80

Please sign in to comment.