summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-31 10:52:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-31 10:52:08 +0000
commitaff96e19c09ed7966268fec74ac84faf4214a1af (patch)
treefb931da4a0232165d2afdde22de0b5d750c21bed /test/unit
parent58d3dc354d68bfa51da5ddec44de173dda3c7f92 (diff)
downloadredmine-aff96e19c09ed7966268fec74ac84faf4214a1af.tar.gz
redmine-aff96e19c09ed7966268fec74ac84faf4214a1af.zip
Test failure (#21074).
git-svn-id: http://svn.redmine.org/redmine/trunk@14775 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/query_test.rb1
1 files changed, 1 insertions, 0 deletions
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')