summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-10-04 17:36:05 +0200
committerAleksander Machniak <alec@alec.pl>2013-10-04 17:36:05 +0200
commitfed081229f81fdfe6d943b06abbcd22e59c555df (patch)
treee3ba2e7e271b6786427274d83552e6c3b7056ce7
parent92d18cf32edab81ac77f547cfa718cf28a573c92 (diff)
Fix unit test
-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");