Aleksander Machniak
2013-10-04 fed081229f81fdfe6d943b06abbcd22e59c555df
Fix unit test
1 files modified
2 ■■■ changed files
tests/MailFunc.php 2 ●●● patch | view | raw | blame | history
tests/MailFunc.php
@@ -147,7 +147,7 @@
        // render HTML in normal mode
        $html = rcmail_html4inline(rcmail_print_body($part, array('safe' => false)), 'foo');
        $mailto = '<a href="mailto:me@me.com?subject=this is the subject&amp;body=this is the body"'
        $mailto = '<a href="mailto:me@me.com"'
            .' onclick="return rcmail.command(\'compose\',\'me@me.com?subject=this is the subject&amp;body=this is the body\',this)" rel="noreferrer">e-mail</a>';
        $this->assertRegExp('|'.preg_quote($mailto, '|').'|', $html, "Extended mailto links");