1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Fixes failing test (#42603).

git-svn-id: https://svn.redmine.org/redmine/trunk@23725 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2025-04-30 22:30:14 +00:00
parent 8fa4c44581
commit 2b9c6f64b1

View File

@ -88,7 +88,7 @@ if Object.const_defined?(:Commonmarker)
def test_should_remove_invalid_div_class
html = '<div class="bad-class">Text</div>'
sanitized = filter(html)
refute_include 'bad-class', sanitized
refute_includes 'bad-class', sanitized
end
def test_should_remove_invalid_p_class