[Rt-commit] r13276 - in rt/branches/3.8-TESTING: .

elacour at bestpractical.com elacour at bestpractical.com
Fri Jun 13 07:50:34 EDT 2008


Author: elacour
Date: Fri Jun 13 07:50:31 2008
New Revision: 13276

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/t/ticket/quicksearch.t

Log:
 r9516 at datura:  manu | 2008-06-13 13:50:26 +0200
 Fix test for r13267.


Modified: rt/branches/3.8-TESTING/t/ticket/quicksearch.t
==============================================================================
--- rt/branches/3.8-TESTING/t/ticket/quicksearch.t	(original)
+++ rt/branches/3.8-TESTING/t/ticket/quicksearch.t	Fri Jun 13 07:50:31 2008
@@ -31,9 +31,9 @@
     "General new open root"     => "( Owner = 'root' ) AND ( Queue = 'General' ) AND ( Status = 'new' OR Status = 'open' )", 
     "fulltext:jesse"       => "( Content LIKE 'jesse' )",
     $queue                 => "( Queue = '$queue' )",
-    "root $queue"          => "( Owner = 'root' ) AND ( Queue = '$queue' )",
+    "root $queue"          => "( Owner = 'root' ) AND ( Queue = '$queue' ) AND ( Status = 'new' OR Status = 'open' OR Status = 'stalled' )",
     "notauser $queue"      => "( Queue = '$queue' ) AND ( Subject LIKE 'notauser' )",
-    "notauser $queue root" => "( Owner = 'root' ) AND ( Queue = '$queue' ) AND ( Subject LIKE 'notauser' )");
+    "notauser $queue root" => "( Owner = 'root' ) AND ( Queue = '$queue' ) AND ( Status = 'new' OR Status = 'open' OR Status = 'stalled' ) AND ( Subject LIKE 'notauser' )");
 
 while (my ($from, $to) = splice @tests, 0, 2) {
     is($quick->QueryToSQL($from), $to, "<$from> -> <$to>");


More information about the Rt-commit mailing list