[Rt-commit] r8323 - rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket

ruz at bestpractical.com ruz at bestpractical.com
Mon Jul 30 19:24:10 EDT 2007


Author: ruz
Date: Mon Jul 30 19:24:10 2007
New Revision: 8323

Modified:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/search_by_watcher.t

Log:
* port from 3.6 a fix for the test

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/search_by_watcher.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/search_by_watcher.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/search_by_watcher.t	Mon Jul 30 19:24:10 2007
@@ -72,7 +72,8 @@
     'Requestor IS NULL'            => { xy => 0, x => 0, y => 0, '-' => 1, z => 0 },
     'Requestor IS NOT NULL'        => { xy => 1, x => 1, y => 1, '-' => 0, z => 1 },
 
-    'Requestor = "x at example.com" AND Requestor = "y at example.com"'   => { xy => 1, x => 0, y => 0, '-' => 0, z => 0 },
+# this test is a todo, we run it later
+#    'Requestor = "x at example.com" AND Requestor = "y at example.com"'   => { xy => 1, x => 0, y => 0, '-' => 0, z => 0 },
     'Requestor = "x at example.com" OR Requestor = "y at example.com"'    => { xy => 1, x => 1, y => 1, '-' => 0, z => 0 },
 
     'Requestor != "x at example.com" AND Requestor != "y at example.com"' => { xy => 0, x => 0, y => 0, '-' => 1, z => 1 },
@@ -92,6 +93,15 @@
 }
 run_tests();
 
+TODO: {
+    local $TODO = "we can't generate this query yet";
+    %test = (
+        'Requestor = "x at example.com" AND Requestor = "y at example.com"'
+            => { xy => 1, x => 0, y => 0, '-' => 0, z => 0 },
+    );
+    run_tests();
+}
+
 @data = (
     { Subject => 'xy', Cc => ['x at example.com'], Requestor => [ 'y at example.com' ] },
     { Subject => 'x-', Cc => ['x at example.com'], Requestor => [] },


More information about the Rt-commit mailing list