summaryrefslogtreecommitdiffstats
path: root/tests/settings
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-05-18 12:23:12 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-05-18 12:55:19 +0200
commitd683752b37dd2ed40cddbc446e326015b3036ad3 (patch)
treed1533bfe1706463397aa35df27c03ac9de78aafd /tests/settings
parent73a3086945b41afa39debd89481c021934dedb67 (diff)
downloadnextcloud-server-d683752b37dd2ed40cddbc446e326015b3036ad3.tar.gz
nextcloud-server-d683752b37dd2ed40cddbc446e326015b3036ad3.zip
Sort user groups by group name and hide the user count
Diffstat (limited to 'tests/settings')
-rw-r--r--tests/settings/controller/groupscontrollertest.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/settings/controller/groupscontrollertest.php b/tests/settings/controller/groupscontrollertest.php
index 4b6c9d02566..3c15754846c 100644
--- a/tests/settings/controller/groupscontrollertest.php
+++ b/tests/settings/controller/groupscontrollertest.php
@@ -111,26 +111,26 @@ class GroupsControllerTest extends \Test\TestCase {
0 => array(
'id' => 'admin',
'name' => 'admin',
- 'usercount' => 18
+ 'usercount' => 0,//User count disabled 18,
)
),
'groups' =>
array(
0 => array(
+ 'id' => 'firstGroup',
+ 'name' => 'firstGroup',
+ 'usercount' => 0,//User count disabled 12,
+ ),
+ 1 => array(
'id' => 'secondGroup',
'name' => 'secondGroup',
- 'usercount' => 25
+ 'usercount' => 0,//User count disabled 25,
),
- 1 => array(
+ 2 => array(
'id' => 'thirdGroup',
'name' => 'thirdGroup',
- 'usercount' => 14
+ 'usercount' => 0,//User count disabled 14,
),
- 2 => array(
- 'id' => 'firstGroup',
- 'name' => 'firstGroup',
- 'usercount' => 12
- )
)
)
)