summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-30 15:55:40 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-30 15:55:40 +0000
commit9bc5946ee7d32ec3c84688b7b1e824d8f1a7fccf (patch)
treec2baebef6a2aa9454ee9edbfceab11930b2fddc3 /test/unit
parentfac0f7f38b1d32a82c2e6789819e349c9d313d44 (diff)
downloadredmine-9bc5946ee7d32ec3c84688b7b1e824d8f1a7fccf.tar.gz
redmine-9bc5946ee7d32ec3c84688b7b1e824d8f1a7fccf.zip
Test failure (#21074).
git-svn-id: http://svn.redmine.org/redmine/trunk@14769 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/query_test.rb2
1 files changed, 1 insertions, 1 deletions
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'})