summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-12-09 05:57:50 +0000
committerGo MAEDA <maeda@farend.jp>2022-12-09 05:57:50 +0000
commit969872fb03a832d29c7030cc7edefd6f3a38f6cf (patch)
tree55630199721627b51c389815f081eb18e3d7c57b
parentf506ba3dedabbd4ac3eb758314d6f131e892a722 (diff)
downloadredmine-969872fb03a832d29c7030cc7edefd6f3a38f6cf.tar.gz
redmine-969872fb03a832d29c7030cc7edefd6f3a38f6cf.zip
Fix test failure when running with PostgreSQL (#20042).
Patch by Ko Nagase. git-svn-id: https://svn.redmine.org/redmine/trunk@21990 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/unit/search_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/search_test.rb b/test/unit/search_test.rb
index 39ab79305..ed1464a91 100644
--- a/test/unit/search_test.rb
+++ b/test/unit/search_test.rb
@@ -175,7 +175,7 @@ class SearchTest < ActiveSupport::TestCase
end
def test_search_should_be_case_insensitive_with_accented_characters
- unless sqlite?
+ unless sqlite? || postgresql?
issue1 = Issue.generate!(:subject => "Special chars: ÖÖ")
issue2 = Issue.generate!(:subject => "Special chars: Öö")
r = Issue.search_results('ÖÖ')