Fix test after change for #7413

pull/5786/merge
Aleksander Machniak 5 years ago
parent 25772702ac
commit 77174ff9ff

@ -252,8 +252,7 @@ class MailFunc extends PHPUnit\Framework\TestCase
$body = rcmail_print_body($html, $this->get_html_part(), array('safe' => false, 'plain' => false)); $body = rcmail_print_body($html, $this->get_html_part(), array('safe' => false, 'plain' => false));
$this->assertNotContains('href="/"', $body); $this->assertNotContains('href="/"', $body);
$this->assertContains('<a href="./#NOP"', $body); $this->assertContains('<a>', $body);
$this->assertContains('onclick="return false"', $body);
$html = '<a href="https://roundcube.net">test</a>'; $html = '<a href="https://roundcube.net">test</a>';
$body = rcmail_print_body($html, $this->get_html_part(), array('safe' => false, 'plain' => false)); $body = rcmail_print_body($html, $this->get_html_part(), array('safe' => false, 'plain' => false));

Loading…
Cancel
Save