diff options
Diffstat (limited to 'apps/settings/tests/Settings/Admin/SharingTest.php')
-rw-r--r-- | apps/settings/tests/Settings/Admin/SharingTest.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/settings/tests/Settings/Admin/SharingTest.php b/apps/settings/tests/Settings/Admin/SharingTest.php index 1f24ef13d4b..041c4f1717a 100644 --- a/apps/settings/tests/Settings/Admin/SharingTest.php +++ b/apps/settings/tests/Settings/Admin/SharingTest.php @@ -86,6 +86,9 @@ class SharingTest extends TestCase { ['core', 'shareapi_default_internal_expire_date', 'no', 'no'], ['core', 'shareapi_internal_expire_after_n_days', '7', '7'], ['core', 'shareapi_enforce_internal_expire_date', 'no', 'no'], + ['core', 'shareapi_default_remote_expire_date', 'no', 'no'], + ['core', 'shareapi_remote_expire_after_n_days', '7', '7'], + ['core', 'shareapi_enforce_remote_expire_date', 'no', 'no'], ]); $expected = new TemplateResponse( @@ -115,6 +118,9 @@ class SharingTest extends TestCase { 'shareDefaultInternalExpireDateSet' => 'no', 'shareInternalExpireAfterNDays' => '7', 'shareInternalEnforceExpireDate' => 'no', + 'shareDefaultRemoteExpireDateSet' => 'no', + 'shareRemoteExpireAfterNDays' => '7', + 'shareRemoteEnforceExpireDate' => 'no', ], '' ); @@ -146,6 +152,9 @@ class SharingTest extends TestCase { ['core', 'shareapi_default_internal_expire_date', 'no', 'no'], ['core', 'shareapi_internal_expire_after_n_days', '7', '7'], ['core', 'shareapi_enforce_internal_expire_date', 'no', 'no'], + ['core', 'shareapi_default_remote_expire_date', 'no', 'no'], + ['core', 'shareapi_remote_expire_after_n_days', '7', '7'], + ['core', 'shareapi_enforce_remote_expire_date', 'no', 'no'], ]); $expected = new TemplateResponse( @@ -175,6 +184,9 @@ class SharingTest extends TestCase { 'shareDefaultInternalExpireDateSet' => 'no', 'shareInternalExpireAfterNDays' => '7', 'shareInternalEnforceExpireDate' => 'no', + 'shareDefaultRemoteExpireDateSet' => 'no', + 'shareRemoteExpireAfterNDays' => '7', + 'shareRemoteEnforceExpireDate' => 'no', ], '' ); |