mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-10 19:23:06 +00:00
Merged r17459 from trunk to 3.4-stable (#29308).
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17460 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
375c7adfe4
commit
5377b53db3
@ -114,6 +114,7 @@ class TimelogController < ApplicationController
|
||||
:time_entry => {
|
||||
:project_id => params[:time_entry][:project_id],
|
||||
:issue_id => @time_entry.issue_id,
|
||||
:spent_on => @time_entry.spent_on,
|
||||
:activity_id => @time_entry.activity_id
|
||||
},
|
||||
:back_url => params[:back_url]
|
||||
|
||||
@ -276,7 +276,7 @@ class TimelogControllerTest < Redmine::ControllerTest
|
||||
},
|
||||
:continue => '1'
|
||||
}
|
||||
assert_redirected_to '/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D=&time_entry%5Bproject_id%5D=1'
|
||||
assert_redirected_to '/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
|
||||
|
||||
@ -293,7 +293,7 @@ class TimelogControllerTest < Redmine::ControllerTest
|
||||
},
|
||||
:continue => '1'
|
||||
}
|
||||
assert_redirected_to '/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D=1&time_entry%5Bproject_id%5D='
|
||||
assert_redirected_to '/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D=1&time_entry%5Bproject_id%5D=&time_entry%5Bspent_on%5D=2008-03-14'
|
||||
end
|
||||
end
|
||||
|
||||
@ -310,7 +310,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='
|
||||
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'
|
||||
end
|
||||
end
|
||||
|
||||
@ -327,7 +327,7 @@ class TimelogControllerTest < Redmine::ControllerTest
|
||||
},
|
||||
:continue => '1'
|
||||
}
|
||||
assert_redirected_to '/issues/1/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D=1&time_entry%5Bproject_id%5D='
|
||||
assert_redirected_to '/issues/1/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D=1&time_entry%5Bproject_id%5D=&time_entry%5Bspent_on%5D=2008-03-14'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user