diff options
author | Go MAEDA <maeda@farend.jp> | 2023-02-05 23:30:46 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-02-05 23:30:46 +0000 |
commit | 2496d4396b788995fe9f5f956be2a88d8198ca22 (patch) | |
tree | a781fcd3442315b0ca9d23b96ef1156dfd7ee562 /test/functional | |
parent | ea4ce319feb5aebd835aa4e902cfecc36723eb7b (diff) | |
download | redmine-2496d4396b788995fe9f5f956be2a88d8198ca22.tar.gz redmine-2496d4396b788995fe9f5f956be2a88d8198ca22.zip |
Fix missing project_id in redirect after clicking "Create and add another" button (#35066).
Patch by Jérôme BATAILLE.
git-svn-id: https://svn.redmine.org/redmine/trunk@22096 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/timelog_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb index c0c923377..5aa5eec7c 100644 --- a/test/functional/timelog_controller_test.rb +++ b/test/functional/timelog_controller_test.rb @@ -471,7 +471,7 @@ class TimelogControllerTest < Redmine::ControllerTest }, :continue => '1' } - assert_redirected_to '/projects/ecookbook/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D=&time_entry%5Bproject_id%5D=&time_entry%5Bspent_on%5D=2008-03-14' + assert_redirected_to '/projects/ecookbook/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D=&time_entry%5Bproject_id%5D=1&time_entry%5Bspent_on%5D=2008-03-14' end end |