diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-11-12 11:52:53 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-11-16 08:54:19 +0100 |
commit | 28c57004dda25f9d78a9679237d1ec747c1d60b0 (patch) | |
tree | 383d7659e578b63ceb9f24a7595fce40f5dfbd70 /build/integration/features/bootstrap | |
parent | 4f5271acf9d2baa08b048ba20f3e730674037625 (diff) | |
download | nextcloud-server-28c57004dda25f9d78a9679237d1ec747c1d60b0.tar.gz nextcloud-server-28c57004dda25f9d78a9679237d1ec747c1d60b0.zip |
Add integration tests for creating shares with default expiration dates
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'build/integration/features/bootstrap')
-rw-r--r-- | build/integration/features/bootstrap/SharingContext.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/integration/features/bootstrap/SharingContext.php b/build/integration/features/bootstrap/SharingContext.php index 2fcca2ee2c7..b1a4c1aa48b 100644 --- a/build/integration/features/bootstrap/SharingContext.php +++ b/build/integration/features/bootstrap/SharingContext.php @@ -38,6 +38,12 @@ class SharingContext implements Context, SnippetAcceptingContext { protected function resetAppConfigs() { $this->deleteServerConfig('core', 'shareapi_default_permissions'); + $this->deleteServerConfig('core', 'shareapi_default_internal_expire_date'); + $this->deleteServerConfig('core', 'shareapi_internal_expire_after_n_days'); + $this->deleteServerConfig('core', 'internal_defaultExpDays'); + $this->deleteServerConfig('core', 'shareapi_default_expire_date'); + $this->deleteServerConfig('core', 'shareapi_expire_after_n_days'); + $this->deleteServerConfig('core', 'link_defaultExpDays'); $this->deleteServerConfig('sharebymail', 'enforcePasswordProtection'); } } |