Fix creation of the mock cache.
authorGunnar Wrobel <p@rdus.de>
Thu, 6 Jan 2011 07:39:52 +0000 (08:39 +0100)
committerGunnar Wrobel <p@rdus.de>
Thu, 6 Jan 2011 07:39:52 +0000 (08:39 +0100)
framework/Kolab_Storage/test/Horde/Kolab/Storage/TestCase.php

index b303ac2..2596f1a 100644 (file)
@@ -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()