-
💡Factory Callbacks in Laravel are dope! Makes it super easy to add default relationships to a Model when using factories in your tests. → laravel.com/docs/master/database-testing#factory-callbacks
-
Must have saved me at least an hour today, after adding new default relationships to a core model in our app. Would have had to update a lot of tests with the same boilerplate code.