Skip to content

Commit

Permalink
test(validator): instep changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Aug 15, 2018
1 parent 93d2f7f commit 6fccf54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/ExpressionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ public function scheduleProvider()
['* * * * 5#2', strtotime('2011-07-01 00:00:00'), '2011-07-08 00:00:00', false],
['* * * * 5#1', strtotime('2011-07-01 00:00:00'), '2011-07-01 00:00:00', true],
['* * * * 3#4', strtotime('2011-07-01 00:00:00'), '2011-07-27 00:00:00', false],
['5/0 * * * *', time(), '2011-07-27 00:00:00', false],
['5/20 * * * *', '2018-08-13 00:24:00', '2011-07-27 00:00:00', false], // issue #12
['5/20 * * * *', strtotime('2018-08-13 00:45:00'), '2011-07-27 00:00:00', true], // issue #12
['5-11/4 * * * *', strtotime('2018-08-13 00:03:00'), '2011-07-27 00:00:00', false],
];
}
}

0 comments on commit 6fccf54

Please sign in to comment.