aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/tests/Settings
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-11-15 16:02:24 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-11-15 16:02:24 +0100
commit68363f69443e4332b5433a7078cb7fca930a3ebe (patch)
treee78a44d8d7d56f8adb3582714aa03e5b28ae898f /apps/settings/tests/Settings
parentc3d0b71f2fc78f4092cf43d642331706fd1f8e7d (diff)
downloadnextcloud-server-68363f69443e4332b5433a7078cb7fca930a3ebe.tar.gz
nextcloud-server-68363f69443e4332b5433a7078cb7fca930a3ebe.zip
Fix some more problems with tests under PHP 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/settings/tests/Settings')
-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 b238e888d39..2468ad97d1e 100644
--- a/apps/settings/tests/Settings/Admin/SharingTest.php
+++ b/apps/settings/tests/Settings/Admin/SharingTest.php
@@ -100,6 +100,7 @@ class SharingTest extends TestCase {
['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'],
+ ['core', 'shareapi_enforce_links_password_excluded_groups', '', ''],
]);
$this->shareManager->method('shareWithGroupMembersOnly')
->willReturn(false);
@@ -181,6 +182,7 @@ class SharingTest extends TestCase {
['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'],
+ ['core', 'shareapi_enforce_links_password_excluded_groups', '', ''],
]);
$this->shareManager->method('shareWithGroupMembersOnly')
->willReturn(false);