From: Gunnar Wrobel Date: Thu, 6 Jan 2011 07:39:52 +0000 (+0100) Subject: Fix creation of the mock cache. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=007894c42ac9803873a1ac0125fbdd22804bca52;p=horde.git Fix creation of the mock cache. --- diff --git a/framework/Kolab_Storage/test/Horde/Kolab/Storage/TestCase.php b/framework/Kolab_Storage/test/Horde/Kolab/Storage/TestCase.php index b303ac274..2596f1ac3 100644 --- a/framework/Kolab_Storage/test/Horde/Kolab/Storage/TestCase.php +++ b/framework/Kolab_Storage/test/Horde/Kolab/Storage/TestCase.php @@ -224,7 +224,7 @@ extends PHPUnit_Framework_TestCase protected function getMockCache() { - return new Horde_Kolab_Storage_Cache(new Horde_Cache_Storage_Mock()); + return new Horde_Kolab_Storage_Cache(new Horde_Cache(new Horde_Cache_Storage_Mock())); } protected function getMockListCache()