diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-05-23 07:08:53 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-05-23 07:08:53 +0000 |
commit | 09b935b44ed897afc3f0abcc614558bf6356b6ba (patch) | |
tree | 52d08b1b6e703b677f59c4ed3517bb0b8cdcadf0 /test | |
parent | 24d6211f4e4b2979693fdc8826c9d0b09ac510d6 (diff) | |
download | redmine-09b935b44ed897afc3f0abcc614558bf6356b6ba.tar.gz redmine-09b935b44ed897afc3f0abcc614558bf6356b6ba.zip |
Fixed that copying issues always copy subtasks and attachments even if option is unchecked (#11787).
git-svn-id: http://svn.redmine.org/redmine/trunk@14268 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/issues_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index c3ebaf4a3..f4403e893 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -4025,7 +4025,7 @@ class IssuesControllerTest < ActionController::TestCase assert_difference 'Issue.count', 1 do assert_no_difference 'Attachment.count' do - post :bulk_update, :ids => [3], :copy => '1', + post :bulk_update, :ids => [3], :copy => '1', :copy_attachments => '0', :issue => { :project_id => '' } @@ -4066,7 +4066,7 @@ class IssuesControllerTest < ActionController::TestCase @request.session[:user_id] = 2 assert_difference 'Issue.count', 1 do - post :bulk_update, :ids => [issue.id], :copy => '1', + post :bulk_update, :ids => [issue.id], :copy => '1', :copy_subtasks => '0', :issue => { :project_id => '' } |