diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-08-11 15:22:59 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-08-11 15:22:59 +0200 |
commit | b25c3beb2f8bb61fbf40b183e425b3d4799c3afa (patch) | |
tree | 86cac24c864fb975354d86391b48e2cb610a78fd /apps | |
parent | 21481208830bae4ebb1a700246a91a43c66bbecc (diff) | |
download | nextcloud-server-b25c3beb2f8bb61fbf40b183e425b3d4799c3afa.tar.gz nextcloud-server-b25c3beb2f8bb61fbf40b183e425b3d4799c3afa.zip |
[provisioning api] Fix grouptest
Diffstat (limited to 'apps')
-rw-r--r-- | apps/provisioning_api/tests/groupstest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/tests/groupstest.php b/apps/provisioning_api/tests/groupstest.php index 9e9824f3645..73044e33120 100644 --- a/apps/provisioning_api/tests/groupstest.php +++ b/apps/provisioning_api/tests/groupstest.php @@ -63,7 +63,7 @@ class GroupsTest extends TestCase { $result = $this->api->getGroups([]); $this->assertInstanceOf('OC_OCS_Result', $result); $this->assertTrue($result->succeeded()); - $this->assertCount(11, $result->getData()['groups']); + $this->assertCount(count($this->groupManager->search('')), $result->getData()['groups']); $this->assertContains('admin', $result->getData()['groups']); foreach ($groups as $group) { $this->assertContains($group->getGID(), $result->getData()['groups']); |