From e48f8945b32ab5b67f1cdeb53a37d3d196e31e4d Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 20 May 2016 05:19:01 -0400
Subject: [PATCH] Fix bug where message list columns could be in wrong order after column drag-n-drop and list sorting

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