diff options
author | Corentin Damman <c.damman@intopix.com> | 2022-09-16 17:43:01 +0200 |
---|---|---|
committer | skjnldsv <skjnldsv@protonmail.com> | 2024-03-15 16:52:59 +0100 |
commit | 0fa9f3049f20ee4d573a6c615ebf9e7ecf7abdd1 (patch) | |
tree | 29110a4f03ce26db4419817aec2b2e996b22bd27 /apps/settings/tests/Settings | |
parent | a0913739c68d9c4263fc0a9fa7e58f4276458f45 (diff) | |
download | nextcloud-server-0fa9f3049f20ee4d573a6c615ebf9e7ecf7abdd1.tar.gz nextcloud-server-0fa9f3049f20ee4d573a6c615ebf9e7ecf7abdd1.zip |
feat(files_sharing): allow to specify allowed groups to share instead of excluded groups
Relates to #3387
Signed-off-by: Corentin Damman <c.damman@intopix.com>
Diffstat (limited to 'apps/settings/tests/Settings')
-rw-r--r-- | apps/settings/tests/Settings/Admin/SharingTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/tests/Settings/Admin/SharingTest.php b/apps/settings/tests/Settings/Admin/SharingTest.php index 2abb2db3b6f..ae98ce6635b 100644 --- a/apps/settings/tests/Settings/Admin/SharingTest.php +++ b/apps/settings/tests/Settings/Admin/SharingTest.php @@ -150,7 +150,7 @@ class SharingTest extends TestCase { 'defaultExpireDate' => false, 'expireAfterNDays' => '7', 'enforceExpireDate' => false, - 'excludeGroups' => false, + 'excludeGroups' => 'no', 'excludeGroupsList' => [], 'publicShareDisclaimerText' => 'Lorem ipsum', 'enableLinkPasswordByDefault' => true, @@ -243,7 +243,7 @@ class SharingTest extends TestCase { 'defaultExpireDate' => false, 'expireAfterNDays' => '7', 'enforceExpireDate' => false, - 'excludeGroups' => true, + 'excludeGroups' => 'yes', 'excludeGroupsList' => ['NoSharers','OtherNoSharers'], 'publicShareDisclaimerText' => 'Lorem ipsum', 'enableLinkPasswordByDefault' => true, |