Skip to content

Improve unit tests - #13

Merged
pavog merged 2 commits into
masterfrom
add-client-test-case
Oct 15, 2026
Merged

pavog merged 2 commits into
masterfrom
add-client-test-case

Conversation

@pavog

@pavog pavog commented Oct 15, 2026

Copy link
Copy Markdown
Member

This PR adds a base class for tests that run against a mocked HTTP client.

  • ClientTestCase creates a CurseForgeAPIClient with a Guzzle MockHandler and records all requests.
  • CurseForgeAPIClientTest tests the client configuration

@pavog
pavog requested a review from JulianVennen October 15, 2026 16:05
@pavog
pavog merged commit 515dedc into master Oct 15, 2026
5 checks passed
@pavog
pavog deleted the add-client-test-case branch October 15, 2026 16:59
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