From 59719e6d035906079517aaee15a7de19a94c6502 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Wed, 28 Jul 2021 15:53:32 +0000 Subject: Merged r21102 to 4.1-stable (#35134). git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@21103 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/helpers/issues_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/helpers/issues_helper_test.rb b/test/helpers/issues_helper_test.rb index 991e7fe78..86eef03d0 100644 --- a/test/helpers/issues_helper_test.rb +++ b/test/helpers/issues_helper_test.rb @@ -367,7 +367,7 @@ class IssuesHelperTest < Redmine::HelperTest TimeEntry.generate!(:issue => Issue.generate!(:parent_issue_id => 1), :hours => 3) TimeEntry.generate!(:issue => Issue.generate!(:parent_issue_id => 1), :hours => 4) - assert_match "href=\"/projects/ecookbook/time_entries?issue_id=~1\"", issue_spent_hours_details(Issue.find(1)) + assert_match "href=\"/projects/ecookbook/time_entries?issue_id=~1\"", CGI.unescape(issue_spent_hours_details(Issue.find(1))) end end end @@ -378,7 +378,7 @@ class IssuesHelperTest < Redmine::HelperTest TimeEntry.generate!(:issue => Issue.generate!(:parent_issue_id => 1), :hours => 3) TimeEntry.generate!(:issue => Issue.generate!(:parent_issue_id => 1), :hours => 4) - assert_match "href=\"/time_entries?issue_id=~1\"", issue_spent_hours_details(Issue.find(1)) + assert_match "href=\"/time_entries?issue_id=~1\"", CGI.unescape(issue_spent_hours_details(Issue.find(1))) end end end -- cgit v1.2.3