mirror of
https://github.com/redmine/redmine.git
synced 2024-08-18 14:10:15 +02:00
Test failure (#21074).
git-svn-id: http://svn.redmine.org/redmine/trunk@14769 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fac0f7f38b
commit
9bc5946ee7
@ -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'})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user