Remove wrong and misleading comment

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Daniel Calviño Sánchez 2020-11-11 20:27:01 +01:00
parent 72f51422ec
commit 4dbeab5cff
1 changed files with 0 additions and 2 deletions

View File

@ -834,7 +834,6 @@ class ManagerTest extends \Test\TestCase {
} }
public function testValidateExpirationDateEnforceTooFarIntoFuture() { public function testValidateExpirationDateEnforceTooFarIntoFuture() {
// Expire date in the past
$future = new \DateTime(); $future = new \DateTime();
$future->add(new \DateInterval('P7D')); $future->add(new \DateInterval('P7D'));
@ -858,7 +857,6 @@ class ManagerTest extends \Test\TestCase {
} }
public function testValidateExpirationDateEnforceValid() { public function testValidateExpirationDateEnforceValid() {
// Expire date in the past
$future = new \DateTime(); $future = new \DateTime();
$future->add(new \DateInterval('P2D')); $future->add(new \DateInterval('P2D'));
$future->setTime(0,0,0); $future->setTime(0,0,0);