🚀 ⏳ Very cool testing detail in #Laravel:

When you #test an #HTTP #client with retries, you can fake not only the HTTP calls, but the sleeps between retries too ☝️

So your test still verifies the retry/backoff behavior, but it doesn’t do any real waiting.

No actual 2s / 4s / 8s sleeps. Just fake sleeps, same logic, massively faster tests.

This saves a ridiculous amount of time. 💪 #php