[PM-37616] use new_http_client() in generators tests#1161
Conversation
|
🔍 SDK Breaking Change DetectionSDK Version:
Breaking change detection uses the build of the SDK from this branch, including any incompatibities pre-existing on or merged into this branch. Check the workflow logs to confirm. |
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR is a mechanical, test-only refactor in Code Review DetailsNo findings. The refactor is type-equivalent at every call site (both expressions yield |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1161 +/- ##
=======================================
Coverage 84.11% 84.11%
=======================================
Files 446 446
Lines 58817 58817
=======================================
Hits 49476 49476
Misses 9341 9341 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…w_http_client() in generators tests (bitwarden/sdk-internal#1161)



🎟️ Tracking
PM-37616
📔 Objective
Replaced use of
reqwest::Client::new()bynew_http_client()inbitwarden-generators. This will ensure that all the tests in the SDK instantiate the HTTP client with the same TLS stack, and it will simplify upgrades toreqwestthat require changes during client initialization, like #1091.