Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Oct 19, 2024
1 parent 53de041 commit a5a1f6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function user_cannot_delete_current_session_token()
$sessionToken = AccessToken::query()
->where('user_id', 1)
->where('type', SessionAccessToken::$type)
->latest()
->latest('id')
->first();

$csrfToken = $responseWithSession->getHeaderLine('X-CSRF-Token');
Expand Down

0 comments on commit a5a1f6a

Please sign in to comment.