From fed081229f81fdfe6d943b06abbcd22e59c555df Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Fri, 04 Oct 2013 11:36:05 -0400 Subject: [PATCH] Fix unit test --- tests/MailFunc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/MailFunc.php b/tests/MailFunc.php index 319075a..6ea39b1 100644 --- a/tests/MailFunc.php +++ b/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&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"); -- Gitblit v1.9.1