]> source.dussan.org Git - redmine.git/commitdiff
Fix broken test due to r19868 (#31881).
authorGo MAEDA <maeda@farend.jp>
Thu, 9 Jul 2020 03:22:01 +0000 (03:22 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 9 Jul 2020 03:22:01 +0000 (03:22 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19869 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/wiki_formatting/macros_test.rb

index 53a65b204223be61f0669246d4bf5c437d24cba3..27d2f71333b4768e3c93ae744bdc751fc36a19d0 100644 (file)
@@ -411,7 +411,7 @@ class Redmine::WikiFormatting::MacrosTest < Redmine::HelperTest
 
   def test_issue_macro_should_render_link_to_issue
     issue = Issue.find 1
-    assert_equal %{<p><a class="issue tracker-1 status-1 priority-4 priority-lowest" href="/issues/1">Bug #1</a>: #{issue.subject}</p>}, textilizable("{{issue(1)}}")
-    assert_equal %{<p>eCookbook - <a class="issue tracker-1 status-1 priority-4 priority-lowest" href="/issues/1">Bug #1</a>: #{issue.subject}</p>}, textilizable("{{issue(1, project=true)}}")
+    assert_equal %{<p><a class="issue tracker-1 status-1 priority-4 priority-lowest behind-schedule" href="/issues/1">Bug #1</a>: #{issue.subject}</p>}, textilizable("{{issue(1)}}")
+    assert_equal %{<p>eCookbook - <a class="issue tracker-1 status-1 priority-4 priority-lowest behind-schedule" href="/issues/1">Bug #1</a>: #{issue.subject}</p>}, textilizable("{{issue(1, project=true)}}")
   end
 end