Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Merge branch 'fix-type-cast'
Browse files Browse the repository at this point in the history
  • Loading branch information
tangrufus committed Apr 21, 2017
2 parents db4475f + 2e945d0 commit 1c6101a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/functional/ReviewNoticeShowsUpAfterTenDaysCept.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@

$I->wantToTest('WP Review Me installed time is set within the past ten seconds');
$installed = $I->grabOptionFromDatabase($optionName);
$I->assertEquals(time(), $installed, null, 10);
$I->assertGreaterOrEquals(time() - 10, $installed);
$I->assertLessOrEquals(time(), $installed);

$I->amGoingTo('fast forward ten days and one minute (864060 seconds)');
$I->haveOptionInDatabase($optionName, time() - 864060);
Expand Down

0 comments on commit 1c6101a

Please sign in to comment.