summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-04-16 08:02:30 +0000
committerGo MAEDA <maeda@farend.jp>2023-04-16 08:02:30 +0000
commit0f6507a607c10fbc971f4bb148594cb0de5c2e71 (patch)
tree49f2bfa1f04dfca60c2e60e1e26cf3d05db87156 /test
parent3c8b9535a38a2675d6f41ab34c6def38f98a7421 (diff)
downloadredmine-0f6507a607c10fbc971f4bb148594cb0de5c2e71.tar.gz
redmine-0f6507a607c10fbc971f4bb148594cb0de5c2e71.zip
Change the notation of "contains any of" filter operator to "*~" (#38435).
git-svn-id: https://svn.redmine.org/redmine/trunk@22197 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/query_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb
index 2f09952e5..164a7d304 100644
--- a/test/unit/query_test.rb
+++ b/test/unit/query_test.rb
@@ -742,7 +742,7 @@ class QueryTest < ActiveSupport::TestCase
:name => '_',
:filters => {
'subject' => {
- :operator => '|~',
+ :operator => '*~',
:values => ['close block']
}
}
@@ -758,7 +758,7 @@ class QueryTest < ActiveSupport::TestCase
:name => '_',
:filters => {
'any_searchable' => {
- :operator => '|~',
+ :operator => '*~',
:values => ['recipe categories']
}
}
@@ -773,7 +773,7 @@ class QueryTest < ActiveSupport::TestCase
:name => '_',
:filters => {
'attachment' => {
- :operator => '|~',
+ :operator => '*~',
:values => ['source changeset']
}
}
@@ -788,7 +788,7 @@ class QueryTest < ActiveSupport::TestCase
:name => '_',
:filters => {
'attachment_description' => {
- :operator => '|~',
+ :operator => '*~',
:values => ['ruby issue']
}
}