Fixes failing test (#23980).

git-svn-id: https://svn.redmine.org/redmine/trunk@23086 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2024-09-28 09:26:46 +00:00
parent 022ee12101
commit b9f72246c9

View File

@@ -1716,7 +1716,7 @@ class ApplicationHelperTest < Redmine::HelperTest
Regexp.new( Regexp.new(
'<div class="contextual heading-2" title="Edit this section" id="section-4">' \ '<div class="contextual heading-2" title="Edit this section" id="section-4">' \
'<a class="icon-only icon-edit" href="/projects/1/wiki/Test/edit\?section=4">' \ '<a class="icon-only icon-edit" href="/projects/1/wiki/Test/edit\?section=4">' \
'<svg class="s14" aria-hidden="true"><use href="\/assets\/icons-.*.svg#icon--edit"></use></svg>' \ '<svg class="s18" aria-hidden="true"><use href="\/assets\/icons-.*.svg#icon--edit"></use></svg>' \
'<span class="icon-label">Edit this section</span>' \ '<span class="icon-label">Edit this section</span>' \
'</a></div>' \ '</a></div>' \
'<a name="Subtitle-with-inline-code"></a>' \ '<a name="Subtitle-with-inline-code"></a>' \
@@ -1731,7 +1731,7 @@ class ApplicationHelperTest < Redmine::HelperTest
Regexp.new( Regexp.new(
'<div class="contextual heading-2" title="Edit this section" id="section-5">' \ '<div class="contextual heading-2" title="Edit this section" id="section-5">' \
'<a class="icon-only icon-edit" href="/projects/1/wiki/Test/edit\?section=5">' \ '<a class="icon-only icon-edit" href="/projects/1/wiki/Test/edit\?section=5">' \
'<svg class="s14" aria-hidden="true"><use href="\/assets\/icons-.*.svg#icon--edit"></use></svg>' \ '<svg class="s18" aria-hidden="true"><use href="\/assets\/icons-.*.svg#icon--edit"></use></svg>' \
'<span class="icon-label">Edit this section</span>' \ '<span class="icon-label">Edit this section</span>' \
'</a></div>' \ '</a></div>' \
'<a name="Subtitle-after-pre-tag"></a>' \ '<a name="Subtitle-after-pre-tag"></a>' \