mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
the group manager calls exists check less often, adjust test accordingly
This commit is contained in:
parent
45e42c25de
commit
837a02184b
1 changed files with 1 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ class Manager extends \PHPUnit_Framework_TestCase {
|
|||
* @var \PHPUnit_Framework_MockObject_MockObject | \OC_Group_Backend $backend1
|
||||
*/
|
||||
$backend = $this->getMock('\OC_Group_Database');
|
||||
$backend->expects($this->exactly(2))
|
||||
$backend->expects($this->exactly(1))
|
||||
->method('groupExists')
|
||||
->with('testgroup')
|
||||
->will($this->returnValue(true));
|
||||
|
|
|
|||
Loading…
Reference in a new issue