summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-13 23:11:01 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-13 23:11:01 +0000
commit6716bdf6530ad2bb42c8d6bdc8db1f47427e94fd (patch)
tree9ce27b6c613e1f3e43187e561cc15b19ba83f8bf /test
parentac6e3f50856db361984a53db53f95b5e29df4854 (diff)
downloadredmine-6716bdf6530ad2bb42c8d6bdc8db1f47427e94fd.tar.gz
redmine-6716bdf6530ad2bb42c8d6bdc8db1f47427e94fd.zip
Mysql LIKE treats Ö and O the same (#18537).
git-svn-id: http://svn.redmine.org/redmine/trunk@13757 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/search_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/search_test.rb b/test/unit/search_test.rb
index 48f39033d..a43ff6b04 100644
--- a/test/unit/search_test.rb
+++ b/test/unit/search_test.rb
@@ -142,8 +142,7 @@ class SearchTest < ActiveSupport::TestCase
def test_search_should_not_use_ruby_downcase
issue = Issue.generate!(:subject => "Special chars: ÖÖ")
r = Issue.search_results('%ÖÖ%')
- assert_equal 1, r.size
- assert_equal issue, r.first
+ assert_include issue, r
end
private