diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-05-19 04:03:11 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-05-19 04:03:11 +0000 |
commit | a968c1196e7999100201b7c5c1cf16a9078c0788 (patch) | |
tree | e91372187898830fa4d0e83897d2016e12b16886 /test/functional/issues_controller_test.rb | |
parent | e3d47acb0ba8209cd97ff23b2dfb09edc392b6d4 (diff) | |
download | redmine-a968c1196e7999100201b7c5c1cf16a9078c0788.tar.gz redmine-a968c1196e7999100201b7c5c1cf16a9078c0788.zip |
code layout clean up test_bulk_update_parent_id of IssuesControllerTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11890 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-rw-r--r-- | test/functional/issues_controller_test.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index e1df07536..cadb9ca50 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -3489,12 +3489,11 @@ class IssuesControllerTest < ActionController::TestCase def test_bulk_update_parent_id IssueRelation.delete_all - @request.session[:user_id] = 2 post :bulk_update, :ids => [1, 3], :notes => 'Bulk editing parent', - :issue => {:priority_id => '', :assigned_to_id => '', :status_id => '', :parent_issue_id => '2'} - + :issue => {:priority_id => '', :assigned_to_id => '', + :status_id => '', :parent_issue_id => '2'} assert_response 302 parent = Issue.find(2) assert_equal parent.id, Issue.find(1).parent_id |