From 684057f67b30bb5dbf0a012c2c28ecf47ec74808 Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 21 Apr 2010 20:45:27 +0000 Subject: Fix unit tests to run with changed rcmail class + use own config for tests --- tests/mailfunc.php | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/mailfunc.php') 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'; -- cgit v1.2.3