Browse Source

Fix Metadata tests

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
tags/v14.0.0beta1
John Molakvoæ (skjnldsv) 6 years ago
parent
commit
d80f13ef99
No account linked to committer's email address
1 changed files with 8 additions and 1 deletions
  1. 8
    1
      tests/lib/Group/MetaDataTest.php

+ 8
- 1
tests/lib/Group/MetaDataTest.php View File

@@ -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…
Cancel
Save