The test will pass if I add this line before the second assertion.
$p = Prototype::find($p->id);
Essentially just reloading the model I guess. Seems like there should be a slicker way to go about this though...
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community