This free course uses older versions of Laravel. It is provided as-is, without ongoing updates or individual support.
In this lesson, we refactor some Eloquent calls in our controller to a dedicated finder method, and discuss when it's important to add new tests while refactoring and when it's not.