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 3dbc5f3 commit 679358fCopy full SHA for 679358f
tests/TestingTools/Asserts/ScheduleAssertsTest.php
@@ -21,13 +21,7 @@ private function createSampleSchedule()
21
22
$schedule->command('foo')->everyFiveMinutes();
23
$schedule->command('bar')->hourly();
24
-
25
- $baz = $schedule->command('baz')->twiceDaily();
26
27
- /* @laravel-versions */
28
- if (method_exists($baz, 'runInBackground')) {
29
- $baz->runInBackground();
30
- }
+ $schedule->command('baz')->twiceDaily()->runInBackground();
31
});
32
}
33
0 commit comments