mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Remove wrong and misleading comment
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
66eb1233a7
commit
47897090ec
1 changed files with 0 additions and 2 deletions
|
|
@ -832,7 +832,6 @@ class ManagerTest extends \Test\TestCase {
|
|||
}
|
||||
|
||||
public function testValidateExpirationDateEnforceTooFarIntoFuture() {
|
||||
// Expire date in the past
|
||||
$future = new \DateTime();
|
||||
$future->add(new \DateInterval('P7D'));
|
||||
|
||||
|
|
@ -856,7 +855,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 a new issue