From f0ce44fedf00951dccdbef11e6e161cdefef9598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Fri, 15 Jun 2018 16:51:53 +0200 Subject: [PATCH] Fixed tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- .../tests/Controller/UsersControllerTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php index ce127c1b36..114742de4f 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')