Support the ongoing development of →
Database Eloquent
Last updated 2 years ago.

Yes, that's the way for the relation linking, but what is that you want to test there?

Last updated 2 years ago.


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.

Last updated 2 years ago.

Sign in to participate in this thread!


Your banner here too?

JoolsMcFly joolsmcfly Joined 22 Apr 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.