From 83d3192472918e5dade849a57a0559b10aff0bb9 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 23 Nov 2019 07:57:19 +0000 Subject: [PATCH] code layout cleanup test/functional/issues_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19179 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issues_controller_test.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.5