code cleanup: rubocop: fix Layout/EmptyLines in test/unit/query_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18741 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-10-19 07:27:35 +00:00
parent 35a4d23ced
commit e2cb4be892
2 changed files with 0 additions and 4 deletions

View File

@@ -1267,7 +1267,6 @@ class QueryTest < ActiveSupport::TestCase
Issue.delete_all
parent = Issue.generate_with_descendants!
query = IssueQuery.new(:name => '_')
query.filters = {"parent_id" => {:operator => '=', :values => [parent.id.to_s]}}
assert_equal parent.children.map(&:id).sort, find_issues_with_query(query).map(&:id).sort
@@ -1297,7 +1296,6 @@ class QueryTest < ActiveSupport::TestCase
child, leaf = parent.children.sort_by(&:id)
grandchild = child.children.first
query = IssueQuery.new(:name => '_')
query.filters = {"child_id" => {:operator => '=', :values => [grandchild.id.to_s]}}
assert_equal [child.id], find_issues_with_query(query).map(&:id).sort
@@ -1668,7 +1666,6 @@ class QueryTest < ActiveSupport::TestCase
[parent, child, private_child, other].each(&:save!)
q = IssueQuery.new(
:name => '_',
:filters => { 'issue_id' => {:operator => '=', :values => ['1,7']} },