Unit Test "deep" relational data

Posted 3 months ago by meijdenmedia

Dear community,

In Laravel it is very normal to get data from related objects like $customer->wallet->balance. What is the best approach in testing the value of the customers' current balance? Sometimes this even goes a layer deeper.


Please sign in or create an account to participate in this conversation.