We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb804c4 commit 599f674Copy full SHA for 599f674
tests/Integration/Console/Scheduling/ScheduleRunCommandTest.php
@@ -132,7 +132,8 @@ public function test_command_with_no_explicit_return_does_not_trigger_event()
132
133
// Create a schedule and add the command that just performs an action without explicit exit
134
$schedule = $this->app->make(Schedule::class);
135
- $task = $schedule->exec('true')
+ $command = PHP_OS_FAMILY === 'Windows' ? 'cmd /c exit 0' : 'true';
136
+ $task = $schedule->exec($command)
137
->everyMinute();
138
139
// Make sure it will run regardless of schedule
0 commit comments