[Pkg-owncloud-commits] [owncloud] 12/69: the group manager calls exists check less often, adjust test accordingly

David Prévot taffit at moszumanska.debian.org
Sat May 10 16:20:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 837a02184b38f62b87993a4da2afbd9daefedd98
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Mon Apr 28 19:19:37 2014 +0200

    the group manager calls exists check less often, adjust test accordingly
---
 tests/lib/group/manager.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/lib/group/manager.php b/tests/lib/group/manager.php
index aa7737b..9d1f175 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));

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list