diff options
author | ivan <ivan> | 2011-02-17 00:25:23 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-02-17 00:25:23 +0000 |
commit | 0fb307c305e4bc2c9c27dc25a3308beae3a4d33c (patch) | |
tree | 9d527e17db4b4d875f63f019dcd513762bb938a6 /rt/t/web/query_builder.t | |
parent | 6a79fae0c14b6635c67b4f224ee4a14f263b37d0 (diff) | |
parent | fc6209f398899f0211cfcedeb81a3cd65e04a941 (diff) |
This commit was generated by cvs2svn to compensate for changes in r10640,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'rt/t/web/query_builder.t')
-rw-r--r-- | rt/t/web/query_builder.t | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/rt/t/web/query_builder.t b/rt/t/web/query_builder.t index 02ed1297f..fa2c56da8 100644 --- a/rt/t/web/query_builder.t +++ b/rt/t/web/query_builder.t @@ -5,7 +5,7 @@ use HTTP::Request::Common; use HTTP::Cookies; use LWP; use Encode; -use RT::Test tests => 42; +use RT::Test tests => 44; my $cookie_jar = HTTP::Cookies->new; my ($baseurl, $agent) = RT::Test->started_ok; @@ -246,4 +246,13 @@ diag "input a condition, select (several conditions), click delete" ); } -1; +diag "send query with not quoted negative number"; +{ + my $response = $agent->get($url."Search/Build.html?Query=Priority%20>%20-2"); + ok( $response->is_success, "Fetched " . $url."Search/Build.html" ); + + is( getQueryFromForm, + "Priority > -2", + "query is the same" + ); +} |