summaryrefslogtreecommitdiffstats
path: root/xt/lib/Bugzilla/Test/Search.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-10-02 17:52:56 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-10-02 17:52:56 +0200
commit8e9c6c3568af1bc384eb4ce64d9eae3f89004da3 (patch)
tree506d478c8d26ab05bd8bb29fe6753b4806b0adab /xt/lib/Bugzilla/Test/Search.pm
parent49cf9cce67f65fe53fcd950e2ba848ebf0a87ba5 (diff)
downloadbugzilla-8e9c6c3568af1bc384eb4ce64d9eae3f89004da3.tar.gz
bugzilla-8e9c6c3568af1bc384eb4ce64d9eae3f89004da3.tar.xz
Bug 601364: Make xt/search.t also test the normal field=value search params
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'xt/lib/Bugzilla/Test/Search.pm')
-rw-r--r--xt/lib/Bugzilla/Test/Search.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/xt/lib/Bugzilla/Test/Search.pm b/xt/lib/Bugzilla/Test/Search.pm
index 0c14de823..467615ba0 100644
--- a/xt/lib/Bugzilla/Test/Search.pm
+++ b/xt/lib/Bugzilla/Test/Search.pm
@@ -99,8 +99,8 @@ sub num_tests {
? ($top_combinations * $all_combinations) : 0;
# And AND tests, which means we run 2x $join_tests;
$join_tests = $join_tests * 2;
- # Also, because of NOT tests, we run 2x $top_combinations.
- my $basic_tests = $top_combinations * 2;
+ # Also, because of NOT tests and Normal tests, we run 3x $top_combinations.
+ my $basic_tests = $top_combinations * 3;
my $operator_field_tests = ($basic_tests + $join_tests) * TESTS_PER_RUN;
# Then we test each field/operator combination for SQL injection.