Fix OCA\Settings\Tests\Settings\Admin\SharingTest

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/29862/head
Côme Chilliet 3 years ago
parent f3dcbfe146
commit dc8b79c4d2
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
  1. 2
      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'],

Loading…
Cancel
Save