summaryrefslogtreecommitdiffstats
path: root/tests/lib/Share20
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2020-11-11 20:27:01 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2020-11-12 11:57:26 +0100
commit4dbeab5cff0702af48280bc202040ce2e91a797b (patch)
tree1ae920333902f4dafb9ffb7b3f55d5a5c873e570 /tests/lib/Share20
parent72f51422ec1efcdf6381a1610e3905fdc1631471 (diff)
downloadnextcloud-server-4dbeab5cff0702af48280bc202040ce2e91a797b.tar.gz
nextcloud-server-4dbeab5cff0702af48280bc202040ce2e91a797b.zip
Remove wrong and misleading comment
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'tests/lib/Share20')
-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 2deba3f2a26..68da78dd8f8 100644
--- a/tests/lib/Share20/ManagerTest.php
+++ b/tests/lib/Share20/ManagerTest.php
@@ -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);