Replies: 3 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.
-
| 
         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.
-
| 
         Considering using Concurrency facade instead of Http::pool() inside a test. This way I could call specific service, avoiding "full-blown" http requests. Would it fly?  | 
  
Beta Was this translation helpful? Give feedback.
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.phpso it allows "sending" multiple requests? I imagine the interface would be similar toHttp::poolperhaps?Beta Was this translation helpful? Give feedback.
All reactions