Skip to content

Conversation

n7studios
Copy link
Contributor

Summary

Allows users to define their own HTTP client compatible with ClientInterface.

Implementation of this PR, with tests now passing.

Testing

  • testClientInterfaceInjection(): Injects a GuzzleHttp\Handler\MockHandler and asserts the results are as expected when mocking an API request.

Checklist

@n7studios n7studios added this to the 1.3.0 milestone Jul 17, 2023
@n7studios n7studios self-assigned this Jul 17, 2023
@n7studios n7studios requested review from a team, jenessawhite and noelherrick and removed request for a team July 17, 2023 12:53
@n7studios n7studios marked this pull request as ready for review July 17, 2023 12:53
@n7studios n7studios merged commit 415075b into master Jul 18, 2023
@n7studios n7studios deleted the use-guzzle-clientinterface branch September 11, 2023 11:03
@n7studios n7studios mentioned this pull request Mar 21, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants