Skip to content

Commit

Permalink
chore: change phpunit workflow to run under php 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-doehring committed Sep 10, 2021
1 parent 878a57d commit 95bbd38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- ubuntu-latest
php:
- 8.0
- 8.1
dependency-version: [prefer-lowest, prefer-stable]

name: P${{ matrix.php }} - ${{ matrix.dependency-version }}
Expand Down
2 changes: 1 addition & 1 deletion tests/Service/OAuth2AuthenticatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function testHttpError(): void

$request->expects(self::once())->method('withBody')->with($stream)->willReturnSelf();

$e = $this->createMock(Exception::class);
$e = new Exception($this->faker()->text());
$this->httpClient->expects(self::once())->method('sendRequest')->with($request)->willThrowException($e);

$this->expectExceptionObject(AuthenticationException::failed(null, $e));
Expand Down

0 comments on commit 95bbd38

Please sign in to comment.