Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-04-21 15:10:33 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2020-05-01 10:14:25 +0300
commit7b0819c5113b72c73a3a35aab7ee05f3e4ef76f4 (patch)
treea085f8a49483a481c1453a2f72a78971c288635d /tests
parentcfd6f0b6fbbbb6d1597ff6dce6dfc3270af40c0f (diff)
Allow specifying a default expiration date
This overrides the max expiration date. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Share20/ManagerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php
index 314038fe13b..231b879395f 100644
--- a/tests/lib/Share20/ManagerTest.php
+++ b/tests/lib/Share20/ManagerTest.php
@@ -809,6 +809,7 @@ class ManagerTest extends \Test\TestCase {
['core', 'shareapi_enforce_expire_date', 'no', 'yes'],
['core', 'shareapi_expire_after_n_days', '7', '3'],
['core', 'shareapi_default_expire_date', 'no', 'yes'],
+ ['core', 'link_defaultExpDays', 3, '3'],
]));
$expected = new \DateTime();