Don't render the issue form if issue.project is nil (#19276).

git-svn-id: http://svn.redmine.org/redmine/trunk@14146 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2015-03-20 16:27:09 +00:00
parent 98c28b467b
commit ea099fb771
2 changed files with 8 additions and 2 deletions

View File

@@ -2218,7 +2218,7 @@ class IssuesControllerTest < ActionController::TestCase
:issue => {:project_id => 3,
:tracker_id => 2,
:subject => 'Foo'}
assert_response 403
assert_response 422
end
end