Skip to content

Commit

Permalink
PHP 5.4 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Propaganistas committed Feb 6, 2017
1 parent f64f689 commit 4d6cb34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/DateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function testMake()
public function testCreateFromCarbon()
{
$date = Date::make(Carbon::createFromFormat('U', 1367186296));
$this->assertInstanceOf(Date::class, $date);
$this->assertInstanceOf('Jenssegers\Date\Date', $date);
$this->assertEquals(1367186296, $date->getTimestamp());
}

Expand Down

0 comments on commit 4d6cb34

Please sign in to comment.