summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2015-01-13 09:24:34 +0100
committerAleksander Machniak <alec@alec.pl>2015-01-13 09:24:34 +0100
commitd204814a39509a9709f9e4cb60ef52ff501d530d (patch)
tree002cdba9dfb5aebb22aa03a345cb466616429055 /tests
parent26afe4bbcf18eaeb64bafc4837fbd94eb36544e0 (diff)
Fix test for blocked.gif according to recent changes
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 7fb78ef9e..2baeedf17 100644
--- a/tests/MailFunc.php
+++ b/tests/MailFunc.php
@@ -45,7 +45,7 @@ class MailFunc extends PHPUnit_Framework_TestCase
$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");