From be9f5bc96cdb97c912403cb73263b8dba132a068 Mon Sep 17 00:00:00 2001 From: krzysztofrewak Date: Wed, 27 Mar 2024 13:02:05 +0100 Subject: [PATCH] #405 - timezone? --- tests/Traits/InteractsWithYearPeriods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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