[Rt-commit] r6859 - in rt/branches/3.7-EXPERIMENTAL-RTIR-2.2: lib/t/regression

ruz at bestpractical.com ruz at bestpractical.com
Fri Jan 26 14:27:09 EST 2007


Author: ruz
Date: Fri Jan 26 14:27:07 2007
New Revision: 6859

Modified:
   rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/   (props changed)
   rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/t/regression/22search_tix_by_txn.t

Log:
 r4439 at cubic-pc (orig r6809):  jesse | 2007-01-26 12:15:02 +0300
  r21344 at hualien:  jesse | 2007-01-26 17:14:09 +0800
  *  Test script 22: search tix by txn had no plan and failed in asian timezones due to a startup precedence bug
 


Modified: rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/t/regression/22search_tix_by_txn.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/t/regression/22search_tix_by_txn.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/t/regression/22search_tix_by_txn.t	Fri Jan 26 14:27:07 2007
@@ -3,10 +3,9 @@
 use warnings;
 use strict;
 
-#use Test::More tests => 26;
-use Test::More qw/no_plan/;
+use Test::More tests => 10;
 
-$ENV{'TZ'} = 'GMT';
+BEGIN{ $ENV{'TZ'} = 'GMT'};
 
 use RT;
 RT::LoadConfig();
@@ -37,4 +36,3 @@
 $tix->FromSQL(qq{Updated = "2005-08-05" AND Subject = "$SUBJECT"});
 is( $tix->Count, 1);
 
-exit 0;


More information about the Rt-commit mailing list