Yes, that's the way for the relation linking, but what is that you want to test there?
Hey,
above test is only there to make sure things work.
I wanted to have another test which would fail if a client had no sector associated to it and I was wondering if guarding required fields was the way to go.
Thanks for your answer.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community