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

Be careful when asserting view data is null

This behavior will surprise you

Joel Clermont
Joel Clermont
2025-03-20

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

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.