summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2020-11-11 20:27:01 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-11-16 13:19:48 +0000
commit24f067bdaf8fe8316282b4ee71a2155462e24572 (patch)
tree09d8ddd4d3df13af95e0c27db763598a4b3f9ff7
parent9e84664f216b72e317bb33c1004feb10d047e463 (diff)
downloadnextcloud-server-24f067bdaf8fe8316282b4ee71a2155462e24572.tar.gz
nextcloud-server-24f067bdaf8fe8316282b4ee71a2155462e24572.zip
Remove wrong and misleading comment
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rw-r--r--tests/lib/Share20/ManagerTest.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php
index 6f5a9c8f5bb..19232504eb2 100644
--- a/tests/lib/Share20/ManagerTest.php
+++ b/tests/lib/Share20/ManagerTest.php
@@ -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);