summaryrefslogtreecommitdiffstats
path: root/xt/lib/Bugzilla/Test/Search
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2011-03-01 16:55:11 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2011-03-01 16:55:11 +0100
commite0a4e9c1bb0d943dbf74d6a487c9d8306fcbd576 (patch)
treeb184b71a800b3253a2afb1e9fd1baded183fd39a /xt/lib/Bugzilla/Test/Search
parentdddef33ef5bbbaba4e82d00ebe87877e474f5ea2 (diff)
downloadbugzilla-e0a4e9c1bb0d943dbf74d6a487c9d8306fcbd576.tar.gz
bugzilla-e0a4e9c1bb0d943dbf74d6a487c9d8306fcbd576.tar.xz
Bug 637662: Make all the boolean charts work as expected for the "blocks"
and "dependson" fields. r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'xt/lib/Bugzilla/Test/Search')
-rw-r--r--xt/lib/Bugzilla/Test/Search/Constants.pm9
1 files changed, 0 insertions, 9 deletions
diff --git a/xt/lib/Bugzilla/Test/Search/Constants.pm b/xt/lib/Bugzilla/Test/Search/Constants.pm
index ad057e58c..16d77a1d1 100644
--- a/xt/lib/Bugzilla/Test/Search/Constants.pm
+++ b/xt/lib/Bugzilla/Test/Search/Constants.pm
@@ -193,11 +193,6 @@ use constant SUBSTR_NO_FIELD_ADD => FIELD_TYPE_DATETIME, qw(
# Certain fields fail all the "negative" search tests:
#
-# Blocked and Dependson "notequals" only finds bugs that have
-# values for the field, but where the dependency list doesn't contain
-# the bug you listed. It doesn't find bugs that fully lack values for
-# the fields, as it should.
-#
# bug_file_loc can be NULL, so it gets missed by the normal
# notequals search.
#
@@ -220,10 +215,8 @@ use constant NEGATIVE_BROKEN => (
'attachments.description' => { contains => [5] },
'attachments.filename' => { contains => [5] },
'attachments.mimetype' => { contains => [5] },
- blocked => { contains => [3,4,5] },
bug_file_loc => { contains => [5] },
deadline => { contains => [5] },
- dependson => { contains => [2,4,5] },
longdesc => { contains => [1] },
'longdescs.isprivate' => { contains => [1] },
# Custom fields are busted because they can be NULL.
@@ -486,8 +479,6 @@ use constant CHANGED_FROM_TO_BROKEN_NOT => (
# Common broken tests for the "not" or "no" operators.
use constant NEGATIVE_BROKEN_NOT => (
- "blocked" => { contains => [3, 4, 5] },
- "dependson" => { contains => [2, 4, 5] },
"flagtypes.name" => { contains => [1 .. 5] },
);