summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-03-17 15:02:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-03-17 15:02:57 +0000
commit38b3e045cf221e8d1aad1ea7fd9e2a86ea0ff5f6 (patch)
tree374354c3d09066ec44a8bb8881a6bd5afc5e2bb1 /test/functional
parentb1afd75620529f855a83bf1202c9dfb630258568 (diff)
downloadredmine-38b3e045cf221e8d1aad1ea7fd9e2a86ea0ff5f6.tar.gz
redmine-38b3e045cf221e8d1aad1ea7fd9e2a86ea0ff5f6.zip
Fixed: Circular loop when using relations and subtasks (#8794).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11641 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/issues_controller_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index a9cf46140..59f7a858a 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -3474,6 +3474,8 @@ class IssuesControllerTest < ActionController::TestCase
end
def test_bulk_update_parent_id
+ IssueRelation.delete_all
+
@request.session[:user_id] = 2
post :bulk_update, :ids => [1, 3],
:notes => 'Bulk editing parent',