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
how to load factory in module ? #337
Comments
On ModuleServiceProvider.php add:
` |
I am trying to register Module like this:
Where "tags" is my module slug name. So, I got an error : How to I fix it? |
you can do this in Laravel 8 now: https://laravel.com/docs/8.x/database-testing#connecting-factories-and-models |
Im trying to load factory permodule to Module like this :
when im execute
php artisan module:seed
im get this error :its behaviour load 1 file in multiple ? and how to load factory manual ?
thanks
The text was updated successfully, but these errors were encountered: