laravel-test-factory-helper icon indicating copy to clipboard operation
laravel-test-factory-helper copied to clipboard

Generate Seeking Non-Existent Model

Open bobbyahines opened this issue 8 years ago • 1 comments

I have a Model called Address that utilizes several lookup tables named with _type (eg. Address_type, Region_type, etc.) Upon running php artisan test-factory-helper:generate, the package errors out with the message:

[Symfony\Component\Debug\Exception\FatalThrowableError]  
Class 'App\Models\Region' not found  

It appears to be expecting a Model that doesn't exist: Region to associate with Region_type.

bobbyahines avatar Mar 14 '17 17:03 bobbyahines

Still not fixed? Or any solution?

mounssif avatar Sep 21 '17 11:09 mounssif