Replies: 2 comments 2 replies
-
I'm facing the exact situation, would be nice if some wrapper can add that to native phpunit http methods |
Beta Was this translation helpful? Give feedback.
1 reply
-
I'm in the same situation but using "In general, each of your tests should only make one request to your application. Unexpected behavior may occur if multiple requests are executed within a single test method." |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have some code sensitive to a race condition, I added in some logic to lock with the cache, but I do not know how to test this automatically. Can we have some logic added to
src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php
so it allows "sending" multiple requests? I imagine the interface would be similar toHttp::pool
perhaps?Beta Was this translation helpful? Give feedback.
All reactions