Remove wrong and misleading comment
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
d6ba3b2f7c
commit
b75c171ee2
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue