summaryrefslogtreecommitdiffstats
path: root/test/helpers/issues_helper_test.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2021-07-28 15:53:32 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2021-07-28 15:53:32 +0000
commit59719e6d035906079517aaee15a7de19a94c6502 (patch)
tree7e154109243cded9c04b69a8317fd1b809d35d1d /test/helpers/issues_helper_test.rb
parent8a85479f3da1c2dfe4a29874ad74c3bd9196906b (diff)
downloadredmine-59719e6d035906079517aaee15a7de19a94c6502.tar.gz
redmine-59719e6d035906079517aaee15a7de19a94c6502.zip
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
Diffstat (limited to 'test/helpers/issues_helper_test.rb')
-rw-r--r--test/helpers/issues_helper_test.rb4
1 files 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