From 21d261885ddb0a55ef2146d490d0c72e8408733d Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 17 Jun 2015 12:11:09 +0200 Subject: [PATCH] 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 c58d7febc3..0a85fbb27f 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();