]> source.dussan.org Git - redmine.git/commitdiff
Test failure (#21074).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 30 Oct 2015 15:55:40 +0000 (15:55 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 30 Oct 2015 15:55:40 +0000 (15:55 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14769 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/query_test.rb

index 00c3d9a399fd9068a1b939fa01caf9ea30b40f2c..5eaa66757b6043db0f00f3c3d655370615b62926 100644 (file)
@@ -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'})