From: Toshi MARUYAMA Date: Sat, 23 Nov 2019 07:57:19 +0000 (+0000) Subject: code layout cleanup test/functional/issues_controller_test.rb X-Git-Tag: 4.2.0~1461 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=83d3192472918e5dade849a57a0559b10aff0bb9;p=redmine.git code layout cleanup test/functional/issues_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19179 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 352f5cedf..f56e36189 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -6874,8 +6874,10 @@ class IssuesControllerTest < Redmine::ControllerTest end def test_destroy_parent_and_child_issues - parent = Issue.create!(:project_id => 1, :author_id => 1, :tracker_id => 1, :subject => 'Parent Issue') - child = Issue.create!(:project_id => 1, :author_id => 1, :tracker_id => 1, :subject => 'Child Issue', :parent_issue_id => parent.id) + parent = Issue.create!(:project_id => 1, :author_id => 1, + :tracker_id => 1, :subject => 'Parent Issue') + child = Issue.create!(:project_id => 1, :author_id => 1, :tracker_id => 1, + :subject => 'Child Issue', :parent_issue_id => parent.id) assert child.is_descendant_of?(parent.reload) @request.session[:user_id] = 2