diff options
author | Go MAEDA <maeda@farend.jp> | 2023-04-09 01:38:36 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-04-09 01:38:36 +0000 |
commit | 565d13d6540de55d177074ce51c65611cc7737a0 (patch) | |
tree | fbffc87679bad4959b5a1583b0db067ee13b37ec /test | |
parent | 544af76dda2810cb752fb343651849629cc81e1d (diff) | |
download | redmine-565d13d6540de55d177074ce51c65611cc7737a0.tar.gz redmine-565d13d6540de55d177074ce51c65611cc7737a0.zip |
"Issue's subject" filter for spent time (#27821).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22173 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/timelog_controller_test.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb index 5aa5eec7c..2ccbf56f4 100644 --- a/test/functional/timelog_controller_test.rb +++ b/test/functional/timelog_controller_test.rb @@ -1258,6 +1258,19 @@ class TimelogControllerTest < Redmine::ControllerTest assert_equal [entry].map(&:id).map(&:to_s), css_select('input[name="ids[]"]').map {|e| e.attr(:value)} end + def text_index_with_issue_subject_filter + get( + :index, + :params => { + :f => ['issue.subject'], + :op => {'issue.subject' => '~'}, + :v => {'issue.subject' => ['"updating a recipe"']} + } + ) + assert_response :success + assert_equal [3], css_select('input[name="ids[]"]').map {|e| e.attr(:value)} + end + def test_index_with_project_status_filter project = Project.find(3) project.close |