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

alexmv at bestpractical.com alexmv at bestpractical.com
Mon Jun 2 17:07:51 EDT 2008


Author: alexmv
Date: Mon Jun  2 17:07:50 2008
New Revision: 12816

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

Log:
 r32404 at kohr-ah:  chmrr | 2008-06-02 17:07:13 -0400
  * Make us not pass a TODO test by accident


Modified: rt/branches/3.8-TESTING/t/ticket/search_by_watcher.t
==============================================================================
--- rt/branches/3.8-TESTING/t/ticket/search_by_watcher.t	(original)
+++ rt/branches/3.8-TESTING/t/ticket/search_by_watcher.t	Mon Jun  2 17:07:50 2008
@@ -40,7 +40,7 @@
         $count++ foreach grep $_, values %{ $test{$key} };
         is($tix->Count, $count, "found correct number of ticket(s) by '$key'") or $error = 1;
 
-        my $good_tickets = 1;
+        my $good_tickets = ($tix->Count == $count);
         while ( my $ticket = $tix->Next ) {
             next if $test{$key}->{ $ticket->Subject };
             diag $ticket->Subject ." ticket has been found when it's not expected";


More information about the Rt-commit mailing list