mirror of
https://github.com/nextcloud/server.git
synced 2024-09-03 17:56:31 +02:00
Fix Metadata tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
9440e9bb1e
commit
d80f13ef99
@ -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 New Issue
Block a user