mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Fix Metadata tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
9440e9bb1e
commit
d80f13ef99
1 changed files with 8 additions and 1 deletions
|
|
@ -53,13 +53,20 @@ class MetaDataTest extends \Test\TestCase {
|
|||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
|
||||
$group->expects($this->exactly(9))
|
||||
$group->expects($this->exactly(6))
|
||||
->method('getGID')
|
||||
->will($this->onConsecutiveCalls(
|
||||
'admin', 'admin', 'admin',
|
||||
'g2', 'g2', 'g2',
|
||||
'g3', 'g3', 'g3'));
|
||||
|
||||
$group->expects($this->exactly(3))
|
||||
->method('getDisplayName')
|
||||
->will($this->onConsecutiveCalls(
|
||||
'admin',
|
||||
'g2',
|
||||
'g3'));
|
||||
|
||||
$group->expects($this->exactly($countCallCount))
|
||||
->method('count')
|
||||
->with('')
|
||||
|
|
|
|||
Loading…
Reference in a new issue