Published On Jan. 20th 2016

Testing Laravel: Testing Email With Custom Assertions

Episode 12 Run Time 24:01

Download

So you need to write some assertions to ensure that the necessary email is delivered when you hit a particular route? Well, at the time of this writing, Laravel doesn't offer any such functionality out of the box. Let's roll up our sleeves, and learn how to write and organize a custom set of assertions for this very task!

View the source code for this lesson on GitHub.