From a3644638aaf0418598196a870204e0b632a4c8ad Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Fri, 17 Apr 2015 06:28:40 -0400
Subject: [PATCH] Allow preference sections to define CSS class names

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

diff --git a/tests/MailFunc.php b/tests/MailFunc.php
index 7fb78ef..2baeedf 100644
--- a/tests/MailFunc.php
+++ b/tests/MailFunc.php
@@ -45,7 +45,7 @@
         $html = rcmail_html4inline(rcmail_print_body($part->body, $part, array('safe' => false)), 'foo');
 
         $this->assertRegExp('/src="'.$part->replaces['ex1.jpg'].'"/', $html, "Replace reference to inline image");
-        $this->assertRegExp('#background="./program/resources/blocked.gif"#', $html, "Replace external background image");
+        $this->assertRegExp('#background="program/resources/blocked.gif"#', $html, "Replace external background image");
         $this->assertNotRegExp('/ex3.jpg/', $html, "No references to external images");
         $this->assertNotRegExp('/<meta [^>]+>/', $html, "No meta tags allowed");
         //$this->assertNoPattern('/<style [^>]+>/', $html, "No style tags allowed");

--
Gitblit v1.9.1