diff --git a/tests/Traits/InteractsWithYearPeriods.php b/tests/Traits/InteractsWithYearPeriods.php index aaa70c8f..fb74ab3d 100644 --- a/tests/Traits/InteractsWithYearPeriods.php +++ b/tests/Traits/InteractsWithYearPeriods.php @@ -25,7 +25,7 @@ public function createYearPeriod(int $year): YearPeriod public function createCurrentYearPeriod(): YearPeriod { - return $this->createYearPeriod(Carbon::now("1")->year); + return $this->createYearPeriod(Carbon::now()->year); } public function markYearPeriodAsSelected(YearPeriod $yearPeriod): void