Remove wrong and misleading comment
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
9e84664f21
commit
24f067bdaf
|
@ -831,7 +831,6 @@ class ManagerTest extends \Test\TestCase {
|
|||
}
|
||||
|
||||
public function testValidateExpirationDateEnforceTooFarIntoFuture() {
|
||||
// Expire date in the past
|
||||
$future = new \DateTime();
|
||||
$future->add(new \DateInterval('P7D'));
|
||||
|
||||
|
@ -855,7 +854,6 @@ class ManagerTest extends \Test\TestCase {
|
|||
}
|
||||
|
||||
public function testValidateExpirationDateEnforceValid() {
|
||||
// Expire date in the past
|
||||
$future = new \DateTime();
|
||||
$future->add(new \DateInterval('P2D'));
|
||||
$future->setTime(0,0,0);
|
||||
|
|
Loading…
Reference in New Issue