From 2b9c6f64b1a16eb9e74d5dde30f3cbf1132c93e1 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Wed, 30 Apr 2025 22:30:14 +0000 Subject: [PATCH] Fixes failing test (#42603). git-svn-id: https://svn.redmine.org/redmine/trunk@23725 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../wiki_formatting/common_mark/sanitization_filter_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb b/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb index d17c2a09f..0918f7fc2 100644 --- a/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb @@ -88,7 +88,7 @@ if Object.const_defined?(:Commonmarker) def test_should_remove_invalid_div_class html = '
Text
' sanitized = filter(html) - refute_include 'bad-class', sanitized + refute_includes 'bad-class', sanitized end def test_should_remove_invalid_p_class