diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-04-12 09:43:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-12 09:43:02 +0200 |
commit | 4626bfbc83c3b5779d6688c0b9357514e08799ed (patch) | |
tree | 5ac9ac3a76e80c7ddb8eeb89132021ae7c83205f | |
parent | 2c267524fce749fba9c117300ec13511f6d09724 (diff) | |
parent | a1ff0f368d175fb4170643ec2bba6a7574c0ee63 (diff) | |
download | nextcloud-server-4626bfbc83c3b5779d6688c0b9357514e08799ed.tar.gz nextcloud-server-4626bfbc83c3b5779d6688c0b9357514e08799ed.zip |
Merge pull request #31927 from nextcloud/feat/dont_match_userid_tests
Tweak tests to include shareapi_restrict_user_enumeration_full_match_userid
-rw-r--r-- | apps/settings/tests/Settings/Admin/SharingTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings/tests/Settings/Admin/SharingTest.php b/apps/settings/tests/Settings/Admin/SharingTest.php index 3ac2e878434..f472685574d 100644 --- a/apps/settings/tests/Settings/Admin/SharingTest.php +++ b/apps/settings/tests/Settings/Admin/SharingTest.php @@ -83,6 +83,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'], @@ -116,6 +117,7 @@ class SharingTest extends TestCase { 'restrictUserEnumerationToGroup' => 'no', 'restrictUserEnumerationToPhone' => 'no', 'restrictUserEnumerationFullMatch' => 'yes', + 'restrictUserEnumerationFullMatchUserId' => 'yes', 'enforceLinkPassword' => false, 'onlyShareWithGroupMembers' => false, 'shareAPIEnabled' => 'yes', @@ -158,6 +160,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'], @@ -191,6 +194,7 @@ class SharingTest extends TestCase { 'restrictUserEnumerationToGroup' => 'no', 'restrictUserEnumerationToPhone' => 'no', 'restrictUserEnumerationFullMatch' => 'yes', + 'restrictUserEnumerationFullMatchUserId' => 'yes', 'enforceLinkPassword' => false, 'onlyShareWithGroupMembers' => false, 'shareAPIEnabled' => 'yes', |