mirror of
https://github.com/redmine/redmine.git
synced 2026-03-18 02:20:59 +01: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user