[Pkg-owncloud-commits] [owncloud] 440/457: Fix test

David Prévot taffit at moszumanska.debian.org
Sun Jun 28 20:07:03 UTC 2015


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

taffit pushed a commit to branch stable8
in repository owncloud.

commit 21d261885ddb0a55ef2146d490d0c72e8408733d
Author: Lukas Reschke <lukas at owncloud.com>
Date:   Wed Jun 17 12:11:09 2015 +0200

    Fix test
---
 tests/core/avatar/avatarcontrollertest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/core/avatar/avatarcontrollertest.php b/tests/core/avatar/avatarcontrollertest.php
index c58d7fe..0a85fbb 100644
--- a/tests/core/avatar/avatarcontrollertest.php
+++ b/tests/core/avatar/avatarcontrollertest.php
@@ -62,7 +62,7 @@ class AvatarControllerTest extends \Test\TestCase {
 		$this->container['AppName'] = 'core';
 		$this->container['AvatarManager'] = $this->getMockBuilder('OCP\IAvatarManager')
 			->disableOriginalConstructor()->getMock();
-		$this->container['Cache'] = $this->getMockBuilder('OCP\ICache')
+		$this->container['Cache'] = $this->getMockBuilder('OC\Cache\File')
 			->disableOriginalConstructor()->getMock();
 		$this->container['L10N'] = $this->getMockBuilder('OCP\IL10N')
 			->disableOriginalConstructor()->getMock();

-- 
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