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 committed by backportbot[bot]
parent d6ba3b2f7c
commit b75c171ee2
1 changed files with 0 additions and 2 deletions

View File

@ -831,7 +831,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'));
@ -855,7 +854,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);