diff options
Diffstat (limited to 'tests/lib/Group/MetaDataTest.php')
-rw-r--r-- | tests/lib/Group/MetaDataTest.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/lib/Group/MetaDataTest.php b/tests/lib/Group/MetaDataTest.php index 04d2ff807b4..53a3c792002 100644 --- a/tests/lib/Group/MetaDataTest.php +++ b/tests/lib/Group/MetaDataTest.php @@ -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('') |