summaryrefslogtreecommitdiff
path: root/tests/mailfunc.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2010-04-21 20:45:27 +0000
committerthomascube <thomas@roundcube.net>2010-04-21 20:45:27 +0000
commit684057f67b30bb5dbf0a012c2c28ecf47ec74808 (patch)
tree39ad88ec66e623e29ff832c6fd712facaaf284ba /tests/mailfunc.php
parentc69d2ae6e9571d6f6c8cc82a38761046404c6e0a (diff)
Fix unit tests to run with changed rcmail class + use own config for tests
Diffstat (limited to 'tests/mailfunc.php')
-rw-r--r--tests/mailfunc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mailfunc.php b/tests/mailfunc.php
index 755cadc5e..5a17d31c9 100644
--- a/tests/mailfunc.php
+++ b/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';