Skip to content

Commit

Permalink
Fix failing test assertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
aejnsn authored Apr 27, 2017
1 parent 04eae35 commit 2c522dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TemporalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 2c522dc

Please sign in to comment.