summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-04-28 19:19:37 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-04-28 19:19:37 +0200
commit837a02184b38f62b87993a4da2afbd9daefedd98 (patch)
tree366b74a68cf9d385f4e73e9e27a91435235e8726 /tests/lib
parent45e42c25de5e498197a9aace7161b4f377a8dacc (diff)
downloadnextcloud-server-837a02184b38f62b87993a4da2afbd9daefedd98.tar.gz
nextcloud-server-837a02184b38f62b87993a4da2afbd9daefedd98.zip
the group manager calls exists check less often, adjust test accordingly
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/group/manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/group/manager.php b/tests/lib/group/manager.php
index aa7737b9f2f..9d1f175c109 100644
--- a/tests/lib/group/manager.php
+++ b/tests/lib/group/manager.php
@@ -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));