diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-30 16:42:55 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-30 16:42:55 +0000 |
commit | e89b93f8d1b9c92b7f6df6b2fc70a36fd5e27e76 (patch) | |
tree | 8374d5d16ffe4b967b9ebe155d0fb44b16f31828 /test/functional/timelog_controller_test.rb | |
parent | d42d8492b8497a4be721f12ef045f368e4a33b3d (diff) | |
download | redmine-e89b93f8d1b9c92b7f6df6b2fc70a36fd5e27e76.tar.gz redmine-e89b93f8d1b9c92b7f6df6b2fc70a36fd5e27e76.zip |
Fill the issue id when logging time from the time log list of an issue (#26520).
git-svn-id: http://svn.redmine.org/redmine/trunk@16924 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/timelog_controller_test.rb')
-rw-r--r-- | test/functional/timelog_controller_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb index 37c584472..7672dafb4 100644 --- a/test/functional/timelog_controller_test.rb +++ b/test/functional/timelog_controller_test.rb @@ -771,6 +771,9 @@ class TimelogControllerTest < Redmine::ControllerTest assert_select '.total-for-hours', :text => 'Hours: 162.90' assert_select 'form#query_form[action=?]', '/projects/ecookbook/time_entries' + + # 'Log time' shoudl link to log time on the filtered issue + assert_select 'a[href=?]', "/projects/ecookbook/time_entries/new" end def test_index_with_display_subprojects_issues_to_false_should_not_include_subproject_entries @@ -805,6 +808,9 @@ class TimelogControllerTest < Redmine::ControllerTest get :index, :params => {:project_id => 'ecookbook', :issue_id => issue.id.to_s, :set_filter => 1} assert_select '.total-for-hours', :text => 'Hours: 7.00' + + # 'Log time' shoudl link to log time on the filtered issue + assert_select 'a[href=?]', "/issues/#{issue.id}/time_entries/new" end def test_index_at_project_level_with_issue_fixed_version_id_short_filter |