Skip to content

Commit f48141d

Browse files
[10.x] Fix Schedule test (#49538)
* Fix * Change the date constant
1 parent 06b6921 commit f48141d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/Console/Scheduling/ScheduleListCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ protected function setUp(): void
1717
{
1818
parent::setUp();
1919

20-
Carbon::setTestNow(now()->startOfYear());
20+
Carbon::setTestNow('2023-1-1');
2121
ScheduleListCommand::resolveTerminalWidthUsing(fn () => 80);
2222

2323
$this->schedule = $this->app->make(Schedule::class);

0 commit comments

Comments
 (0)