Replies: 1 comment 2 replies
-
$this->artisan(RunTasksCommand::class, ['--pretend' => true])->assertSuccessful();
// or
$this->artisan('app:run-tasks', ['--pretend' => true])->assertSuccessful(); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
crynobone
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm getting error with console tests when passing command by class name as first argument to
$this->artisan()
error :
of corse it is working fine if I passed the command signature
It just will be better if I can pass it with class name and not hardcode the command signature
Thanks
Beta Was this translation helpful? Give feedback.
All reactions