Aleksander Machniak
2012-07-30 cfc27c9b764985f707e8ca8d5ba663b6e4b01ecc
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");