Skip to content

Commit

Permalink
Fix tests for PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
curry684 committed Feb 10, 2020
1 parent 6f8b3aa commit 9a8553e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"mockery/mockery": "^1.0",
"m4tthumphrey/php-gitlab-api": "^9.0.0",
"php-http/guzzle6-adapter": "^2.0.1",
"phpunit/phpunit": "^9.0"
"phpunit/phpunit": "^8.0|^9.0"
},
"suggest": {
"m4tthumphrey/php-gitlab-api": "For further API usage using the acquired OAuth2 token"
Expand Down
3 changes: 0 additions & 3 deletions test/src/Provider/GitlabTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@ public function testExceptionThrownWhenErrorObjectReceived()
$token = $this->provider->getAccessToken('authorization_code', ['code' => 'mock_authorization_code']);
}

/**
* @expectedException \League\OAuth2\Client\Provider\Exception\IdentityProviderException
**/
public function testExceptionThrownWhenOAuthErrorReceived()
{
$status = 200;
Expand Down

0 comments on commit 9a8553e

Please sign in to comment.