@@ -1569,6 +1569,7 @@ public function testUserCreateChecksShareWithGroupMembersOnlyDifferentGroups() {
15691569 ->method ('getAppValue ' )
15701570 ->willReturnMap ([
15711571 ['core ' , 'shareapi_only_share_with_group_members ' , 'no ' , 'yes ' ],
1572+ ['core ' , 'shareapi_only_share_with_group_members_exclude_group_list ' , '' , '[] ' ],
15721573 ]);
15731574
15741575 self ::invokePrivate ($ this ->manager , 'userCreateChecks ' , [$ share ]);
@@ -1602,6 +1603,7 @@ public function testUserCreateChecksShareWithGroupMembersOnlySharedGroup() {
16021603 ->method ('getAppValue ' )
16031604 ->willReturnMap ([
16041605 ['core ' , 'shareapi_only_share_with_group_members ' , 'no ' , 'yes ' ],
1606+ ['core ' , 'shareapi_only_share_with_group_members_exclude_group_list ' , '' , '[] ' ],
16051607 ]);
16061608
16071609 $ this ->defaultProvider
@@ -1794,6 +1796,7 @@ public function testGroupCreateChecksShareWithGroupMembersOnlyNotInGroup() {
17941796 ->willReturnMap ([
17951797 ['core ' , 'shareapi_only_share_with_group_members ' , 'no ' , 'yes ' ],
17961798 ['core ' , 'shareapi_allow_group_sharing ' , 'yes ' , 'yes ' ],
1799+ ['core ' , 'shareapi_only_share_with_group_members_exclude_group_list ' , '' , '[] ' ],
17971800 ]);
17981801
17991802 self ::invokePrivate ($ this ->manager , 'groupCreateChecks ' , [$ share ]);
@@ -1817,6 +1820,7 @@ public function testGroupCreateChecksShareWithGroupMembersOnlyNullGroup() {
18171820 ->willReturnMap ([
18181821 ['core ' , 'shareapi_only_share_with_group_members ' , 'no ' , 'yes ' ],
18191822 ['core ' , 'shareapi_allow_group_sharing ' , 'yes ' , 'yes ' ],
1823+ ['core ' , 'shareapi_only_share_with_group_members_exclude_group_list ' , '' , '[] ' ],
18201824 ]);
18211825
18221826 $ this ->assertNull ($ this ->invokePrivate ($ this ->manager , 'groupCreateChecks ' , [$ share ]));
@@ -1846,6 +1850,7 @@ public function testGroupCreateChecksShareWithGroupMembersOnlyInGroup() {
18461850 ->willReturnMap ([
18471851 ['core ' , 'shareapi_only_share_with_group_members ' , 'no ' , 'yes ' ],
18481852 ['core ' , 'shareapi_allow_group_sharing ' , 'yes ' , 'yes ' ],
1853+ ['core ' , 'shareapi_only_share_with_group_members_exclude_group_list ' , '' , '[] ' ],
18491854 ]);
18501855
18511856 self ::invokePrivate ($ this ->manager , 'groupCreateChecks ' , [$ share ]);
0 commit comments