aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-02 12:14:36 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-02 12:14:36 +0200
commit8944cb539ef565db4bb9f05d225449afa0d20cfb (patch)
tree7889215757fe4a0e250350c90f8bedaec6035960 /tests
parentccbdcf0ab33e943e6bac45a2ae3b602ed0593103 (diff)
parentb2dd5cb61655b6ca82e8fd1fb117b42301d28c2b (diff)
downloadnextcloud-server-8944cb539ef565db4bb9f05d225449afa0d20cfb.tar.gz
nextcloud-server-8944cb539ef565db4bb9f05d225449afa0d20cfb.zip
Merge pull request #19510 from owncloud/json-grouplist-sharing-exclude
save excluded groups in json format
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/util.php b/tests/lib/util.php
index 49579b3b6bd..eaa3d0795e3 100644
--- a/tests/lib/util.php
+++ b/tests/lib/util.php
@@ -303,7 +303,7 @@ class Test_Util extends \Test\TestCase {
}
$appConfig = \OC::$server->getAppConfig();
- $appConfig->setValue('core', 'shareapi_exclude_groups_list', implode(',', $excludedGroups));
+ $appConfig->setValue('core', 'shareapi_exclude_groups_list', json_encode($excludedGroups));
$appConfig->setValue('core', 'shareapi_exclude_groups', 'yes');
$result = \OCP\Util::isSharingDisabledForUser();