[Rt-commit] r17588 - in rt/branches/3.999-DANGEROUS: .
jesse at bestpractical.com
jesse at bestpractical.com
Tue Jan 6 13:02:26 EST 2009
Author: jesse
Date: Tue Jan 6 13:02:26 2009
New Revision: 17588
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/t/ticket/search_by_watcher.t
Log:
r56599 at 17h: jesse | 2009-01-06 11:52:18 -0500
* untodoing some passing search by watcher tests (Tested on mysql and sqlite)
Modified: rt/branches/3.999-DANGEROUS/t/ticket/search_by_watcher.t
==============================================================================
--- rt/branches/3.999-DANGEROUS/t/ticket/search_by_watcher.t (original)
+++ rt/branches/3.999-DANGEROUS/t/ticket/search_by_watcher.t Tue Jan 6 13:02:26 2009
@@ -141,15 +141,19 @@
{ xy => 1, x => 1, y => 1, '-' => 0, z => 1 },
'Subject NOT LIKE "z" OR (Requestor = "x at example.com" OR Requestor = "y at example.com")' =>
{ xy => 1, x => 1, y => 1, '-' => 1, z => 0 },
-);
+
+
+ 'requestor = "x at example.com" AND requestor = "y at example.com"'
+ => { xy => 1, x => 0, y => 0, '-' => 0, z => 0 },
+
+
+ );
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 },
'subject LIKE "x" OR requestor = "not-exist at example.com"' =>
{ xy => 1, x => 1, y => 0, '-' => 0, z => 0 },
'subject NOT LIKE "x" OR requestor = "not-exist at example.com"' =>
@@ -226,6 +230,7 @@
my $tix = RT::Model::TicketCollection->new(current_user => RT->system_user);
$tix->from_sql("Queue = '$queue' AND Owner.name LIKE 'nob'");
ok($tix->count, "found ticket(s)");
+
}
{
More information about the Rt-commit
mailing list