summaryrefslogtreecommitdiffstats
path: root/xt/lib/Bugzilla/Test/Search/Constants.pm
diff options
context:
space:
mode:
Diffstat (limited to 'xt/lib/Bugzilla/Test/Search/Constants.pm')
-rw-r--r--xt/lib/Bugzilla/Test/Search/Constants.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/xt/lib/Bugzilla/Test/Search/Constants.pm b/xt/lib/Bugzilla/Test/Search/Constants.pm
index deca77a72..5558238df 100644
--- a/xt/lib/Bugzilla/Test/Search/Constants.pm
+++ b/xt/lib/Bugzilla/Test/Search/Constants.pm
@@ -36,6 +36,7 @@ our @EXPORT = qw(
COLUMN_TRANSLATION
COMMENT_FIELDS
CUSTOM_FIELDS
+ CUSTOM_SEARCH_TESTS
FIELD_SIZE
FIELD_SUBSTR_SIZE
FLAG_FIELDS
@@ -1021,4 +1022,14 @@ use constant SPECIAL_PARAM_TESTS => (
value => '%group.<1-bug_group>%', contains => [1,2,3,4,5] },
);
+use constant CUSTOM_SEARCH_TESTS => (
+ { name => 'bug_id AND assigned_to', contains => [1],
+ columns => ['assigned_to'],
+ params => [
+ { f => 'bug_id', o => 'equals', v => '<1>' },
+ { f => 'assigned_to', o => 'equals', v => '<1>' },
+ ]
+ },
+);
+
1;