summaryrefslogtreecommitdiffstats
path: root/apps/settings/tests
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2021-10-28 16:48:12 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2021-12-16 09:43:30 +0100
commitdc8b79c4d2b4bf52ae4a4b930906391d1def277c (patch)
tree78b74d724d571632e63c2916013cfcb0a57c3966 /apps/settings/tests
parentf3dcbfe146782d2c7dec8760651e79605ddc96e7 (diff)
downloadnextcloud-server-dc8b79c4d2b4bf52ae4a4b930906391d1def277c.tar.gz
nextcloud-server-dc8b79c4d2b4bf52ae4a4b930906391d1def277c.zip
Fix OCA\Settings\Tests\Settings\Admin\SharingTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/settings/tests')
-rw-r--r--apps/settings/tests/Settings/Admin/SharingTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/settings/tests/Settings/Admin/SharingTest.php b/apps/settings/tests/Settings/Admin/SharingTest.php
index c90429f6dd8..222be5fd9dc 100644
--- a/apps/settings/tests/Settings/Admin/SharingTest.php
+++ b/apps/settings/tests/Settings/Admin/SharingTest.php
@@ -74,6 +74,7 @@ class SharingTest extends TestCase {
->method('getAppValue')
->willReturnMap([
['core', 'shareapi_exclude_groups_list', '', ''],
+ ['core', 'shareapi_allow_links_exclude_groups', '', ''],
['core', 'shareapi_allow_group_sharing', 'yes', 'yes'],
['core', 'shareapi_allow_links', 'yes', 'yes'],
['core', 'shareapi_allow_public_upload', 'yes', 'yes'],
@@ -146,6 +147,7 @@ class SharingTest extends TestCase {
->method('getAppValue')
->willReturnMap([
['core', 'shareapi_exclude_groups_list', '', '["NoSharers","OtherNoSharers"]'],
+ ['core', 'shareapi_allow_links_exclude_groups', '', ''],
['core', 'shareapi_allow_group_sharing', 'yes', 'yes'],
['core', 'shareapi_allow_links', 'yes', 'yes'],
['core', 'shareapi_allow_public_upload', 'yes', 'yes'],