mirror of
https://github.com/redmine/redmine.git
synced 2026-03-03 19:11:28 +01:00
Fixed "Create and continue" redirection broken by recent changes. #6333
IssuesController#create is no more scoped under project, but IssuesController#new is, so we need to precise project_id when redirecting to "New issue" form. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4083 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -405,7 +405,8 @@ class IssuesControllerTest < ActionController::TestCase
|
||||
:subject => 'This is first issue',
|
||||
:priority_id => 5},
|
||||
:continue => ''
|
||||
assert_redirected_to :controller => 'issues', :action => 'new', :issue => {:tracker_id => 3}
|
||||
assert_redirected_to :controller => 'issues', :action => 'new', :project_id => 'ecookbook',
|
||||
:issue => {:tracker_id => 3}
|
||||
end
|
||||
|
||||
def test_post_create_without_custom_fields_param
|
||||
|
||||
Reference in New Issue
Block a user