use Laracasts\TestDummy\Factory;
$factory = new Factory();
$factory->build('Comment');
As a result, I get TestDummyException with message 'The Comment model was
not found.'
I checked $factory->factories() and it clearly says that factory with name: 'Comment' is included. Issue happened for any other factory I used.
I use artisan tinker as follows:
As a result, I get TestDummyException with message 'The Comment model was not found.' I checked $factory->factories() and it clearly says that factory with name: 'Comment' is included. Issue happened for any other factory I used.