mpociot / laravel-test-factory-helper

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

Non-functioning in Laravel 5.5 #22

Closed AlbinoDrought closed 5 years ago

AlbinoDrought commented 7 years ago
➜  laravel git:(master) ✗ php artisan test-factory-helper:generate

  [ReflectionException]                                                                     
  Method Mpociot\LaravelTestFactoryHelper\Console\GenerateCommand::handle() does not exist                                                                                         

Manual fix:

Rename the fire method in GenerateCommand to handle.

>Any fire methods present on your Artisan commands should be renamed to handle.

francoisauclair911 commented 6 years ago

No PR ?

jrmadsen67 commented 5 years ago

fixed in https://github.com/mpociot/laravel-test-factory-helper/commit/07c04bc352faf41652653cc74f366c9dde5ff06c

close