From 77174ff9ff5884ca6b21f9f634d03660b3580e82 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 7 Jun 2020 09:36:34 +0200 Subject: [PATCH] Fix test after change for #7413 --- tests/MailFunc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/MailFunc.php b/tests/MailFunc.php index 4c3b77ff4..4c9d685bf 100644 --- a/tests/MailFunc.php +++ b/tests/MailFunc.php @@ -252,8 +252,7 @@ class MailFunc extends PHPUnit\Framework\TestCase $body = rcmail_print_body($html, $this->get_html_part(), array('safe' => false, 'plain' => false)); $this->assertNotContains('href="/"', $body); - $this->assertContains('assertContains('onclick="return false"', $body); + $this->assertContains('', $body); $html = 'test'; $body = rcmail_print_body($html, $this->get_html_part(), array('safe' => false, 'plain' => false));