Your Teacher | Jeffrey Way

https://laracasts.s3.amazonaws.com/avatars/jeffrey-avatar.jpg's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.

About This Episode

Published on Nov 11th, 2015

If we're using tools like TestDummy to populate our database tables with records for our tests, then we need a way to clean things up after each test completes. This is where database transactions come into play. Luckily, this is an easy one. Import a trait from the Integrated package, and you're done!

Back to Series Button