From: Jean-Philippe Lang Date: Sat, 31 Oct 2015 10:52:08 +0000 (+0000) Subject: Test failure (#21074). X-Git-Tag: 3.2.0~98 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aff96e19c09ed7966268fec74ac84faf4214a1af;p=redmine.git Test failure (#21074). git-svn-id: http://svn.redmine.org/redmine/trunk@14775 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index 5eaa66757..af079eb53 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -182,6 +182,7 @@ class QueryTest < ActiveSupport::TestCase end def test_operator_none_for_string_custom_field + CustomField.find(2).update_attribute :default_value, "" query = IssueQuery.new(:project => Project.find(1), :name => '_') query.add_filter('cf_2', '!*', ['']) assert query.has_filter?('cf_2')