diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-04-21 15:10:33 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-05-01 10:14:25 +0300 |
commit | 7b0819c5113b72c73a3a35aab7ee05f3e4ef76f4 (patch) | |
tree | a085f8a49483a481c1453a2f72a78971c288635d /tests | |
parent | cfd6f0b6fbbbb6d1597ff6dce6dfc3270af40c0f (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.php | 1 |
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(); |