diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-06-15 16:51:53 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-06-15 16:51:53 +0200 |
commit | f0ce44fedf00951dccdbef11e6e161cdefef9598 (patch) | |
tree | 60e07d7905eb594a5afbb954e356f1b77135f495 /apps/provisioning_api/tests | |
parent | d666723cb079cb8f9f1fab36110aea63afbde710 (diff) | |
download | nextcloud-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.php | 6 |
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') |