Fixed tests

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-06-15 16:51:53 +02:00
parent d666723cb0
commit f0ce44fedf
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 3 additions and 3 deletions

View File

@ -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')