Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
zendframework/zendframework#6058 - Adding tests to verify support for…
Browse files Browse the repository at this point in the history
… integer and string timestamps
  • Loading branch information
Ocramius committed May 3, 2014
1 parent 343be9a commit 95d0d07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/Filter/TimestampTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ public function dateTimeDataProvider()
array(new DateTime('2014-03-03'), new DateTime('2014-03-03'), '==', true),
array(new DateTime('2014-02-02'), new DateTime('2014-03-03'), '<', true),
array(new DateTime('2014-03-03'), new DateTime('2014-03-03'), 'lt', false),
array(1399140540, new DateTime('2014-03-03'), 'lt', false),
array(1399140480, new DateTime('2014-03-03'), 'lt', true),
array('1399140540', new DateTime('2014-03-03'), 'lt', false),
array('1399140480', new DateTime('2014-03-03'), 'lt', true),
);
}

Expand Down

0 comments on commit 95d0d07

Please sign in to comment.