diff --git a/tests/TemporalTest.php b/tests/TemporalTest.php index 5c4d249..8322afe 100644 --- a/tests/TemporalTest.php +++ b/tests/TemporalTest.php @@ -203,7 +203,7 @@ public function testItCorrectlySetsTheValidEndOfTheCurrentWhenThereIsAScheduling 'valid_end' => null ]); - $this->assertEquals(Carbon::now()->addDays(15), $currentCommission->fresh()->valid_end); + $this->assertEquals(Carbon::now()->addDays(15)->toDateTimeString(), $currentCommission->fresh()->valid_end); } /**