how to test? #60
Replies: 3 comments
-
Basically, I think I'm looking at like Http::fake(), where we can pass any links concerned. How to do that? |
Beta Was this translation helpful? Give feedback.
-
Hey! So I see you are using Laravel/Orchestra test bench so this should be relatively easy. Before you instantiate your SDK, you can provide https://docs.saloon.dev/next-steps/testing-faking-responses/laravel |
Beta Was this translation helpful? Give feedback.
-
Hey there, did this help? |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for this package. I want to ask, I have a laravel package here https://github.com/sawirricardo/laravel-icd-api, and want to test instantiation an object. however, when instantiating the object, I need to make a request call, to icd.who.int. How to mock this? Thank you
Beta Was this translation helpful? Give feedback.
All reactions