aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-04-21 14:10:33 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2020-04-24 16:18:20 +0200
commitf4b8623d330dcde02f07fa58d7134698744ee790 (patch)
tree66a8d1136f4df5320567d0e7e3be6e4dac46c4c3 /tests/lib
parent4114bce1e5a9177641f112efcca8f777224ded16 (diff)
downloadnextcloud-server-f4b8623d330dcde02f07fa58d7134698744ee790.tar.gz
nextcloud-server-f4b8623d330dcde02f07fa58d7134698744ee790.zip
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/lib')
-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 4a7b0e9ae4b..b8364cfdc46 100644
--- a/tests/lib/Share20/ManagerTest.php
+++ b/tests/lib/Share20/ManagerTest.php
@@ -808,6 +808,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();