[Pkg-owncloud-commits] [owncloud] 11/34: Fix in stable6 after backport of #9225

David Prévot taffit at moszumanska.debian.org
Thu Nov 13 19:37:12 UTC 2014


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

taffit pushed a commit to annotated tag v6.0.6
in repository owncloud.

commit e9cc95a40383acd126fd21431765a733f536bcd6
Author: Simon Vocella <voxsim at gmail.com>
Date:   Wed Sep 24 22:56:23 2014 +0200

    Fix in stable6 after backport of #9225
---
 tests/lib/group/manager.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/lib/group/manager.php b/tests/lib/group/manager.php
index 77058ea..54e8fc4 100644
--- a/tests/lib/group/manager.php
+++ b/tests/lib/group/manager.php
@@ -380,6 +380,8 @@ class Manager extends \PHPUnit_Framework_TestCase {
 		 * @var \OC\User\Manager $userManager
 		 */
 		$userManager = $this->getMock('\OC\User\Manager');
+		$userBackend = $this->getMock('\OC_User_Backend');
+
 		$userManager->expects($this->any())
 			->method('search')
 			->with('user3')
@@ -554,7 +556,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