Skip to content

Commit

Permalink
Merge pull request #6 from aejnsn/patch-3
Browse files Browse the repository at this point in the history
Fixes failing test assertion in PHP 7.1.
  • Loading branch information
joshforbes authored Apr 27, 2017
2 parents 04eae35 + 2c522dc commit 4ee54bd
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 4ee54bd

Please sign in to comment.