If one testing trick made your day, imagine what a whole book of them could https://nocompromises.gumroad.com/
Sometimes the most important thing to test is that nothing happened.
In today's video, I show a simple trick for proving a model wasn't changed, using just one assertion and zero mocking.
Want a short practical tip delivered to your inbox?
Sign up for the Mastering Laravel newsletter: https://masteringlaravel.io
View the article for this tip: https://masteringlaravel.io/daily/2026-04-24-video-how-to-test-that-a-model-wasnt-changed