laravel-generator icon indicating copy to clipboard operation
laravel-generator copied to clipboard

Factory not generating when factory option is true

Open skys215 opened this issue 1 year ago • 0 comments

Hi, When I was trying to generate factory for a model, I set factory option to true inside the config/laravel_generator.php, but failed to call factory method for model. After investigating, found out that the code is triggered by test option, not factory option. Is it designed intentionally, or it is typo or something? Source: https://github.com/InfyOmLabs/laravel-generator/blob/453d1d364a13b44f7b424dd4cea2c296402db429/views/model/model.blade.php#L9 https://github.com/InfyOmLabs/laravel-generator/blob/453d1d364a13b44f7b424dd4cea2c296402db429/views/model/model.blade.php#L15

skys215 avatar Sep 07 '22 03:09 skys215