Skip to content

Commit

Permalink
UHF-9367: Allow exceptions for setupMockHttpClient()
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Oct 4, 2024
1 parent 44fd1ee commit 458cf92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Traits/ApiTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protected function createMockHttpClient(array $responses) : Client {
/**
* Overrides the default 'http_client_factory' service with mock.
*
* @param \Psr\Http\Message\ResponseInterface[] $responses
* @param \Psr\Http\Message\ResponseInterface[]|\GuzzleHttp\Exception\GuzzleException[] $responses
* The expected responses.
*
* @return \GuzzleHttp\Client
Expand Down

0 comments on commit 458cf92

Please sign in to comment.