Commit f44cdc9c authored by jplang's avatar jplang

Test failure (#21074).

git-svn-id: https://svn.redmine.org/redmine/trunk@14769 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 9cbb0914
......@@ -709,7 +709,7 @@ class QueryTest < ActiveSupport::TestCase
end
def test_filter_on_custom_field_should_ignore_projects_with_field_disabled
field = IssueCustomField.generate!(:trackers => Tracker.all, :project_ids => [1, 3, 4], :is_filter => true)
field = IssueCustomField.generate!(:trackers => Tracker.all, :project_ids => [1, 3, 4], :is_for_all => false, :is_filter => true)
Issue.generate!(:project_id => 3, :tracker_id => 2, :custom_field_values => {field.id.to_s => 'Foo'})
Issue.generate!(:project_id => 4, :tracker_id => 2, :custom_field_values => {field.id.to_s => 'Foo'})
......
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