Skip to content

Commit 679358f

Browse files
committed
ITT: Laravel 5.2 support.
1 parent 3dbc5f3 commit 679358f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/TestingTools/Asserts/ScheduleAssertsTest.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,7 @@ private function createSampleSchedule()
2121

2222
$schedule->command('foo')->everyFiveMinutes();
2323
$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-
}
24+
$schedule->command('baz')->twiceDaily()->runInBackground();
3125
});
3226
}
3327

0 commit comments

Comments
 (0)