Skip to content

Commit

Permalink
Update LibrariesIOTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsizemore committed Mar 24, 2024
1 parent 885041c commit 4e0db91
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/src/LibrariesIOTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Response;
use InvalidArgumentException;
use Iterator;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
Expand Down Expand Up @@ -305,7 +304,7 @@ public function testRepositoryInvalidOptions(): void
{
$mockHandler = new MockHandler([$this->responses['valid']]);
$mockClient = $this->mockClient($this->testApiKey, $mockHandler);
$this->expectException(InvalidArgumentException::class);
$this->expectException(InvalidEndpointOptionsException::class);
$mockClient->repository('repository', ['huh' => 'what']);
}

Expand Down

0 comments on commit 4e0db91

Please sign in to comment.