From 9bc5946ee7d32ec3c84688b7b1e824d8f1a7fccf Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 30 Oct 2015 15:55:40 +0000 Subject: [PATCH] Test failure (#21074). git-svn-id: http://svn.redmine.org/redmine/trunk@14769 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/query_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index 00c3d9a39..5eaa66757 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -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'}) -- 2.39.5