From 80e1dd4f1f958b3ac6713c7077042969517ef9fd Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 27 Jul 2023 17:35:47 +1000 Subject: [PATCH] Fixes for timezone corrections for reminders --- tests/Feature/ReminderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/ReminderTest.php b/tests/Feature/ReminderTest.php index 5812e955db47..c55c302d8c22 100644 --- a/tests/Feature/ReminderTest.php +++ b/tests/Feature/ReminderTest.php @@ -195,7 +195,7 @@ class ReminderTest extends TestCase nlog($next_send_date->format('Y-m-d h:i:s')); nlog($calculatedReminderDate->format('Y-m-d h:i:s')); - $this->travelTo(now()->addDays(1)); + $this->travelTo($calculatedReminderDate); $reminder_template = $this->invoice->calculateTemplate('invoice');