1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-05 07:01:30 +00:00

Mysql LIKE treats Ö and O the same (#18537).

git-svn-id: http://svn.redmine.org/redmine/trunk@13757 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-12-13 23:11:01 +00:00
parent ac6e3f5085
commit 6716bdf653

View File

@ -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