summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-07-30 10:00:35 +0200
committerAleksander Machniak <alec@alec.pl>2012-07-30 10:00:35 +0200
commitcfc27c9b764985f707e8ca8d5ba663b6e4b01ecc (patch)
tree2766d44f459e908d576d4c99ec21d7335ea8f1c7 /tests
parent71ee565dfc5b40bee5ed8f66d75b4ff9f78a3976 (diff)
Keep some resource files (images) in separate directory
Diffstat (limited to 'tests')
-rw-r--r--tests/mailfunc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mailfunc.php b/tests/mailfunc.php
index ed637884e..493ce946e 100644
--- a/tests/mailfunc.php
+++ b/tests/mailfunc.php
@@ -48,7 +48,7 @@ class rcube_test_mailfunc extends UnitTestCase
$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");