Skip to content

Getting error with console tests when passing command by class name as first argument #49129

Closed Answered by crynobone
AMoktar asked this question in General
Discussion options

You must be logged in to vote
$this->artisan(RunTasksCommand::class, ['--pretend' => true])->assertSuccessful();

// or

$this->artisan('app:run-tasks', ['--pretend' => true])->assertSuccessful();

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AMoktar
Comment options

@AMoktar
Comment options

Answer selected by crynobone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants