Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hafezdivandari committed Oct 1, 2024
1 parent 261a4a3 commit 928206b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Feature/RefreshTokenGrantTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ private function refreshToken()
Route::get('/foo', fn (Request $request) => $request->user()->token()->toJson())->middleware('auth:api');

$this->getJson('/foo', [
'Authorization' => $oldToken['token_type'].' '.$oldToken['access_token']
'Authorization' => $oldToken['token_type'].' '.$oldToken['access_token'],
])->assertUnauthorized();

$this->getJson('/foo', [
'Authorization' => $newToken['token_type'].' '.$newToken['access_token']
'Authorization' => $newToken['token_type'].' '.$newToken['access_token'],
])->assertOk();

return $this->post('/oauth/token', [
Expand Down

0 comments on commit 928206b

Please sign in to comment.