Chaining fresh() in Model Methods for Test to Pass
Is it acceptable to chain fresh() in a method of a model so that PHPUnit will return successful?
Is there a downside to it?
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!