diff --git a/tests/Feature/RefreshTokenGrantTest.php b/tests/Feature/RefreshTokenGrantTest.php index 672981c8..79c5764b 100644 --- a/tests/Feature/RefreshTokenGrantTest.php +++ b/tests/Feature/RefreshTokenGrantTest.php @@ -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', [