Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Seeking Non-Existent Model #18

Open
bobbyahines opened this issue Mar 14, 2017 · 1 comment
Open

Generate Seeking Non-Existent Model #18

bobbyahines opened this issue Mar 14, 2017 · 1 comment

Comments

@bobbyahines
Copy link

bobbyahines commented Mar 14, 2017

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.

@mounssif
Copy link

Still not fixed? Or any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants