Black Friday: the Laravel testing course is $149 instead of $249, through Dec 7. See the course →
logo

One situation where it is useful to make more than one request in a test

Don't abuse this, but here's one case I think is okay

Joel Clermont
Joel Clermont
2026-01-16

From our daily Laravel tips email. Get the next one in your inbox.

The general rule is one request per test. And that rule exists for a very good reason.

In this video, I show one specific place where I break this rule and explain why I think it's okay.

Watch Now (4 min)

And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.

Here to help,

Joel

P.S. Want to level up your Laravel testing skills? Check out our testing workshop.

Want a tip like this in your inbox every weekday?

Each one takes less than 2 minutes to read. Join 4,000+ Laravel developers who already get them.

email
No spam. Only real-world advice.
Toss a coin in the jar if you found this helpful.