diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-10-04 17:36:05 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-10-04 17:36:05 +0200 |
commit | fed081229f81fdfe6d943b06abbcd22e59c555df (patch) | |
tree | e3ba2e7e271b6786427274d83552e6c3b7056ce7 /tests/MailFunc.php | |
parent | 92d18cf32edab81ac77f547cfa718cf28a573c92 (diff) |
Fix unit test
Diffstat (limited to 'tests/MailFunc.php')
-rw-r--r-- | tests/MailFunc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/MailFunc.php b/tests/MailFunc.php index 319075abd..6ea39b1ec 100644 --- a/tests/MailFunc.php +++ b/tests/MailFunc.php @@ -147,7 +147,7 @@ class MailFunc extends PHPUnit_Framework_TestCase // 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&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&body=this is the body\',this)" rel="noreferrer">e-mail</a>'; $this->assertRegExp('|'.preg_quote($mailto, '|').'|', $html, "Extended mailto links"); |