Skip to content

Commit

Permalink
Removed useless test
Browse files Browse the repository at this point in the history
  • Loading branch information
Menno Holtkamp committed Apr 15, 2014
1 parent cbde1b5 commit 4b8ef5f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/Cron/CronExpressionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,6 @@ public function testIsDueHandlesDifferentDates()
$this->assertTrue($cron->isDue('now'));
$this->assertTrue($cron->isDue(new DateTime('now')));
$this->assertTrue($cron->isDue(date('Y-m-d H:i')));

$cron = CronExpression::factory('0 15 * * 2');
$this->assertFalse($cron->isDue(new DateTime('2014-04-15 15:00', new \DateTimeZone('UTC'))));
$this->assertTrue($cron->isDue(new DateTime('2014-04-15 15:00', new \DateTimeZone('Europe/Amsterdam'))));
}

/**
Expand Down

0 comments on commit 4b8ef5f

Please sign in to comment.