From 2c522dc550a8bbd6da25a4bbc174d2dc8a7f0c2a Mon Sep 17 00:00:00 2001
From: Aaron Johnson <aejnsn@users.noreply.github.com>
Date: Thu, 27 Apr 2017 04:06:56 -0400
Subject: [PATCH] Fix failing test assertion.
---
tests/TemporalTest.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
}
/**