Skip to content

Commit

Permalink
One more
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesvdvreken committed Jun 19, 2017
1 parent f76a032 commit 6892752
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/unit/Laravel/CacheItemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ public function it_can_set_expiry_with_datetime()
$item->expiresAt($now->addMinute());

// Assert
$this->assertEquals($now, $item->getExpiresAt());
$this->assertSame(
$now->format('d-m-Y H:i:s'),
$item->getExpiresAt()->format('d-m-Y H:i:s')
);
}

/** @test */
Expand Down

0 comments on commit 6892752

Please sign in to comment.