-
-
Notifications
You must be signed in to change notification settings - Fork 123
Disable caching in tests #547
Description
Hi there,
I'd like to disable the cache in all my test scenarios, as I am using fixtures.
I could imagine to call something like withoutCache() here, but this is not how it works right now, if I read https://docs.saloon.dev/installable-plugins/caching-responses correctly.
Saloon::fake([
GetSuggestionsRequest::class => MockResponse::fixture("suggestions/$this->product"),
]);
Is there anything you can imagine to solve this?
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.