From bd0551b22076b82a6d49e9f7a2b2e0c90a1b2326 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 05 Feb 2016 07:25:27 -0500
Subject: [PATCH] Secure also downloads of addressbook exports, managesieve script exports and Enigma keys exports

---
 tests/Framework/ImapCache.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/Framework/ImapCache.php b/tests/Framework/ImapCache.php
index 83612c5..6c7f988 100644
--- a/tests/Framework/ImapCache.php
+++ b/tests/Framework/ImapCache.php
@@ -13,7 +13,7 @@
      */
     function test_class()
     {
-        $object = new rcube_imap_cache(null, null, null, null);
+        $object = new rcube_imap_cache(new rcube_db('test'), null, null, null);
 
         $this->assertInstanceOf('rcube_imap_cache', $object, "Class constructor");
     }

--
Gitblit v1.9.1