Remove wrong and misleading comment
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
72f51422ec
commit
4dbeab5cff
|
@ -834,7 +834,6 @@ class ManagerTest extends \Test\TestCase {
|
|||
}
|
||||
|
||||
public function testValidateExpirationDateEnforceTooFarIntoFuture() {
|
||||
// Expire date in the past
|
||||
$future = new \DateTime();
|
||||
$future->add(new \DateInterval('P7D'));
|
||||
|
||||
|
@ -858,7 +857,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