]> source.dussan.org Git - redmine.git/commitdiff
Test failure (#21074).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 31 Oct 2015 10:52:08 +0000 (10:52 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 31 Oct 2015 10:52:08 +0000 (10:52 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14775 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/query_test.rb

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