GitLab ist wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht erreichbar.

Commit c3c2598f authored by jplang's avatar jplang

Test failure.

git-svn-id: https://svn.redmine.org/redmine/trunk@10517 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 136929f7
......@@ -684,14 +684,14 @@ class QueryTest < ActiveSupport::TestCase
assert_include 4, ids
end
def test_filter_on_relations_with_any_issue
def test_filter_on_relations_with_any_issues
IssueRelation.delete_all
IssueRelation.create!(:relation_type => "relates", :issue_from => Issue.find(1), :issue_to => Issue.find(2))
IssueRelation.create!(:relation_type => "relates", :issue_from => Issue.find(3), :issue_to => Issue.find(1))
query = Query.new(:name => '_')
query.filters = {"relates" => {:operator => '*', :values => ['']}}
assert_equal [1, 2, 3], find_issues_with_query(query).map(&:id)
assert_equal [1, 2, 3], find_issues_with_query(query).map(&:id).sort
end
def test_statement_should_be_nil_with_no_filters
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment