summaryrefslogtreecommitdiff
path: root/roundcubemail/tests/mailfunc.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-21 20:45:27 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-21 20:45:27 +0000
commit4caf2f6635018a3b6616f2d60b7a60a6332b4126 (patch)
tree4e6a17a08bd63cd8b002e8eb9dac0886138a7f4e /roundcubemail/tests/mailfunc.php
parent14e3c485dee80ea24b482dc5c95d66b5956836b2 (diff)
Fix unit tests to run with changed rcmail class + use own config for tests
git-svn-id: https://svn.roundcube.net/trunk@3524 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/tests/mailfunc.php')
-rw-r--r--roundcubemail/tests/mailfunc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/tests/mailfunc.php b/roundcubemail/tests/mailfunc.php
index 755cadc5e..5a17d31c9 100644
--- a/roundcubemail/tests/mailfunc.php
+++ b/roundcubemail/tests/mailfunc.php
@@ -16,6 +16,7 @@ class rcube_test_mailfunc extends UnitTestCase
$GLOBALS['RCMAIL'] = $RCMAIL = rcmail::get_instance();
$GLOBALS['OUTPUT'] = $OUTPUT = $RCMAIL->load_gui();
$RCMAIL->action = 'spell';
+ $RCMAIL->imap_init(false);
$IMAP = $RCMAIL->imap;
require_once 'steps/mail/func.inc';