From 841f83bb1a7b81f7df08ca53e4592050b4a58878 Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Mon, 11 Apr 2022 12:49:15 +0200 Subject: [PATCH] Tweak tests to include shareapi_restrict_user_enumeration_full_match_userid Signed-off-by: Louis Chemineau --- apps/settings/tests/Settings/Admin/SharingTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/settings/tests/Settings/Admin/SharingTest.php b/apps/settings/tests/Settings/Admin/SharingTest.php index c90429f6dd8..a353a1a653d 100644 --- a/apps/settings/tests/Settings/Admin/SharingTest.php +++ b/apps/settings/tests/Settings/Admin/SharingTest.php @@ -82,6 +82,7 @@ class SharingTest extends TestCase { ['core', 'shareapi_restrict_user_enumeration_to_group', 'no', 'no'], ['core', 'shareapi_restrict_user_enumeration_to_phone', 'no', 'no'], ['core', 'shareapi_restrict_user_enumeration_full_match', 'yes', 'yes'], + ['core', 'shareapi_restrict_user_enumeration_full_match_userid', 'yes', 'yes'], ['core', 'shareapi_enabled', 'yes', 'yes'], ['core', 'shareapi_default_expire_date', 'no', 'no'], ['core', 'shareapi_expire_after_n_days', '7', '7'], @@ -115,6 +116,7 @@ class SharingTest extends TestCase { 'restrictUserEnumerationToGroup' => 'no', 'restrictUserEnumerationToPhone' => 'no', 'restrictUserEnumerationFullMatch' => 'yes', + 'restrictUserEnumerationFullMatchUserId' => 'yes', 'enforceLinkPassword' => false, 'onlyShareWithGroupMembers' => false, 'shareAPIEnabled' => 'yes', @@ -154,6 +156,7 @@ class SharingTest extends TestCase { ['core', 'shareapi_restrict_user_enumeration_to_group', 'no', 'no'], ['core', 'shareapi_restrict_user_enumeration_to_phone', 'no', 'no'], ['core', 'shareapi_restrict_user_enumeration_full_match', 'yes', 'yes'], + ['core', 'shareapi_restrict_user_enumeration_full_match_userid', 'yes', 'yes'], ['core', 'shareapi_enabled', 'yes', 'yes'], ['core', 'shareapi_default_expire_date', 'no', 'no'], ['core', 'shareapi_expire_after_n_days', '7', '7'], @@ -187,6 +190,7 @@ class SharingTest extends TestCase { 'restrictUserEnumerationToGroup' => 'no', 'restrictUserEnumerationToPhone' => 'no', 'restrictUserEnumerationFullMatch' => 'yes', + 'restrictUserEnumerationFullMatchUserId' => 'yes', 'enforceLinkPassword' => false, 'onlyShareWithGroupMembers' => false, 'shareAPIEnabled' => 'yes', -- 2.39.5