summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-15 16:51:53 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-15 16:51:53 +0200
commitf0ce44fedf00951dccdbef11e6e161cdefef9598 (patch)
tree60e07d7905eb594a5afbb954e356f1b77135f495 /apps/provisioning_api/tests
parentd666723cb079cb8f9f1fab36110aea63afbde710 (diff)
downloadnextcloud-server-f0ce44fedf00951dccdbef11e6e161cdefef9598.tar.gz
nextcloud-server-f0ce44fedf00951dccdbef11e6e161cdefef9598.zip
Fixed tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/provisioning_api/tests')
-rw-r--r--apps/provisioning_api/tests/Controller/UsersControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php
index ce127c1b365..114742de4f9 100644
--- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php
+++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php
@@ -707,13 +707,13 @@ class UsersControllerTest extends TestCase {
->method('getSubAdminsGroups')
->willReturn([$group]);
$group->expects($this->at(0))
- ->method('getDisplayName')
+ ->method('getGID')
->willReturn('group0');
$group->expects($this->at(1))
- ->method('getDisplayName')
+ ->method('getGID')
->willReturn('group1');
$group->expects($this->at(2))
- ->method('getDisplayName')
+ ->method('getGID')
->willReturn('group2');
$group->expects($this->at(3))
->method('getGID')