mardi 3 juillet 2018

Undefined relationship on Model when upgrade and run unit test in Laravel 5.6

After upgrade Laravel from 5.5 to 5.6 and running test, in file laravel.log: Call to undefined relationship [user] on model [Rate]. I think the fault lies here. But i don't fix

  $rateable->user->notify($notification);



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire