]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove wrong and misleading comment
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Wed, 11 Nov 2020 19:27:01 +0000 (20:27 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 16 Nov 2020 13:16:47 +0000 (13:16 +0000)
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
tests/lib/Share20/ManagerTest.php

index e3cd201f1162b5760941d3cf86fbd317a6506af7..d148bd0d1c7283ec8d44818c069b0636e0793853 100644 (file)
@@ -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);