Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ public function test_command_with_no_explicit_return_does_not_trigger_event()

// Create a schedule and add the command that just performs an action without explicit exit
$schedule = $this->app->make(Schedule::class);
$task = $schedule->exec('true')
$command = PHP_OS_FAMILY === 'Windows' ? 'cmd /c exit 0' : 'true';
$task = $schedule->exec($command)
->everyMinute();

// Make sure it will run regardless of schedule
Expand Down