From 8e9c6c3568af1bc384eb4ce64d9eae3f89004da3 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Sat, 2 Oct 2010 08:52:56 -0700 Subject: Bug 601364: Make xt/search.t also test the normal field=value search params r=mkanat, a=mkanat (module owner) --- xt/lib/Bugzilla/Test/Search.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xt/lib/Bugzilla/Test/Search.pm') 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. -- cgit v1.2.3-24-g4f1b