summaryrefslogtreecommitdiff
path: root/tests/MailFunc.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/MailFunc.php')
-rw-r--r--tests/MailFunc.php2
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&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");