InvalidArgumentException
markib opened this issue · comments
InvalidArgumentException]
Unable to locate factory with name [5] [App\Channel].
fixed it, it was due to passed number is coming as string, so 5
was passing as "5"
.
I have updated the database/seeds/DatabaseSeeder.php
// Line 41
$channels = factory(App\Channel::class, intval($numberOfUser))->create();