add Printful client test coverage with Req.Test stubs
All checks were successful
deploy / deploy (push) Successful in 1m10s
All checks were successful
deploy / deploy (push) Successful in 1m10s
Wire up Req.Test plug for the Printful HTTP client so tests can stub responses. Adds HTTP-level tests for the client, provider integration tests, and mockup enricher tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -48,3 +48,7 @@ config :berrypod, Oban, testing: :inline
|
||||
|
||||
# Isolate image cache so test cleanup doesn't wipe the dev cache
|
||||
config :berrypod, :image_cache_dir, Path.expand("../tmp/test_image_cache", __DIR__)
|
||||
|
||||
# Route Printful HTTP client through Req.Test stubs
|
||||
config :berrypod, Berrypod.Clients.Printful,
|
||||
req_options: [plug: {Req.Test, Berrypod.Clients.Printful}, retry: false]
|
||||
|
||||
Reference in New Issue
Block a user