From 984ee8ce92c9293963575e1806506c4a33c2fbfc Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 21 Dec 2011 05:21:59 -0500
Subject: [PATCH] - Update tests

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

diff --git a/tests/mailfunc.php b/tests/mailfunc.php
index d8111c7..1b1bbdf 100644
--- a/tests/mailfunc.php
+++ b/tests/mailfunc.php
@@ -92,7 +92,7 @@
   function test_html_xss2()
   {
     $part = $this->get_html_part('src/BID-26800.txt');
-    $washed = rcmail_print_body($part, array('safe' => true));
+    $washed = rcmail_html4inline(rcmail_print_body($part, array('safe' => true)), 'dabody', '', $attr, true);
 
     $this->assertNoPattern('/alert|expression|javascript|xss/', $washed, "Remove evil style blocks");
     $this->assertNoPattern('/font-style:italic/', $washed, "Allow valid styles");

--
Gitblit v1.9.1