Skip to content

Commit

Permalink
Improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Dec 21, 2024
1 parent a325926 commit 167763d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/src/Provider/AbstractProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ public function testGetAccessTokenWithScope($method)
->once()
->with(
['client_id' => 'mock_client_id', 'client_secret' => 'mock_secret', 'redirect_uri' => 'none'],
['code' => 'mock_authorization_code', 'scope' => 'test']
['code' => 'mock_authorization_code', 'scope' => 'foo,bar']
)
->andReturn([]);

Expand All @@ -723,7 +723,7 @@ public function testGetAccessTokenWithScope($method)
]);

$provider->setHttpClient($client);
$token = $provider->getAccessToken($grant, ['code' => 'mock_authorization_code', 'scope' => 'test']);
$token = $provider->getAccessToken($grant, ['code' => 'mock_authorization_code', 'scope' => ['foo', 'bar']]);

$this->assertInstanceOf(AccessTokenInterface::class, $token);

Expand Down

0 comments on commit 167763d

Please sign in to comment.