summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2021-07-26 20:49:01 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2021-07-26 20:49:01 +0000
commit08108b8ebeb6196d7767598b3fb917695ba1d83f (patch)
tree55efd983ffc0502d30ad558e4665fb0e4a50d9e7
parent158d21b75c2f63582969afac147a7d51d3e7de28 (diff)
downloadredmine-08108b8ebeb6196d7767598b3fb917695ba1d83f.tar.gz
redmine-08108b8ebeb6196d7767598b3fb917695ba1d83f.zip
Revert r21082 (#35134).
git-svn-id: http://svn.redmine.org/redmine/trunk@21083 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/helpers/issues_helper_test.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/helpers/issues_helper_test.rb b/test/helpers/issues_helper_test.rb
index 28a520b3e..a46b44b5b 100644
--- a/test/helpers/issues_helper_test.rb
+++ b/test/helpers/issues_helper_test.rb
@@ -375,26 +375,4 @@ class IssuesHelperTest < Redmine::HelperTest
assert_equal new_project_issue_path(issue.project, params),
url_for_new_subtask(issue)
end
-
- def test_issue_spent_hours_details_should_link_to_project_time_entries_depending_on_cross_project_setting
- %w(descendants).each do |setting|
- with_settings :cross_project_subtasks => setting do
- 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))
- end
- end
- end
-
- def test_issue_spent_hours_details_should_link_to_global_time_entries_depending_on_cross_project_setting
- %w(system tree hierarchy).each do |setting|
- with_settings :cross_project_subtasks => setting do
- 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))
- end
- end
- end
end