From 62d5b4c7108d8caa7d3a71e94d45088ca8aa257e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 9 Sep 2012 11:04:55 +0000 Subject: [PATCH] Issues assigned to a locked/closed version are now copied (#11207). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10336 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/projects_controller_test.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index 8d5be729f..49bd69291 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -542,9 +542,7 @@ class ProjectsControllerTest < ActionController::TestCase assert_equal %w(issue_tracking time_tracking), project.enabled_module_names.sort assert_equal source.versions.count, project.versions.count, "All versions were not copied" - # issues assigned to a closed version won't be copied - assert_equal source.issues.select {|i| i.fixed_version.nil? || i.fixed_version.open?}.size, - project.issues.count, "All issues were not copied" + assert_equal source.issues.count, project.issues.count, "All issues were not copied" assert_equal 0, project.members.count end