From 2110108578e72e7200fbc2aa61c0b0acba11c340 Mon Sep 17 00:00:00 2001 From: Peter Elmered Date: Thu, 5 Sep 2024 23:42:32 +0200 Subject: [PATCH] Code style --- tests/RefreshTokenTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/RefreshTokenTest.php b/tests/RefreshTokenTest.php index d14ec49..1b673dd 100644 --- a/tests/RefreshTokenTest.php +++ b/tests/RefreshTokenTest.php @@ -18,7 +18,7 @@ public function testRefreshTokenBasic(): void 'client_id', 'client_secret', [ - 'scopes' => ['scope1', 'scope2'], + 'scopes' => ['scope1', 'scope2'], 'auth_type' => 'basic', ] ); @@ -26,7 +26,6 @@ public function testRefreshTokenBasic(): void $this->assertEquals('this_is_my_access_token', $accessToken); Http::assertSent(static function (Request $request) { return $request->hasHeader('Authorization', 'Basic Y2xpZW50X2lkOmNsaWVudF9zZWNyZXQ=') && $request->url() === 'https://example.com/oauth/token' && $request['grant_type'] === 'client_credentials' && $request['scope'] === 'scope1 scope2'; - }); }