mpociot / laravel-test-factory-helper

Generate Laravel test factories from your existing models
936 stars 87 forks source link

Tried with different location #17

Open mavinothkumar opened 7 years ago

mavinothkumar commented 7 years ago

Hi,

I tried to store the factory in different location, but it doesn't write in the appropriate file, instead always write to default file ModelFactory.php

Though I have created the TestFactory.php under factories.

php artisan test-factory-helper:generate --filename="database/factories/TestFactory.php" and php artisan test-factory-helper:generate --filename=database/factories/TestFactory.php

jrmadsen67 commented 5 years ago

PR: https://github.com/mpociot/laravel-test-factory-helper/pull/26