From cfc27c9b764985f707e8ca8d5ba663b6e4b01ecc Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 30 Jul 2012 04:00:35 -0400
Subject: [PATCH] Keep some resource files (images) in separate directory

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

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

--
Gitblit v1.9.1