X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2Ft%2Fregression%2F22search_tix_by_txn.t;h=bec61b5ad4b716e2e6922dc91c171bbddab8759c;hb=8103c1fc1b2c27a6855feadf26f91b980a54bc52;hp=f43fc6401b45eaa7779e657f4003980b29475c6a;hpb=9c68254528b6f2c7d8c1921b452fa56064783782;p=freeside.git diff --git a/rt/lib/t/regression/22search_tix_by_txn.t b/rt/lib/t/regression/22search_tix_by_txn.t index f43fc6401..bec61b5ad 100644 --- a/rt/lib/t/regression/22search_tix_by_txn.t +++ b/rt/lib/t/regression/22search_tix_by_txn.t @@ -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 @@ is($txnobj->CreatedObj->ISO,'2005-08-05 20:00:56'); $tix->FromSQL(qq{Updated = "2005-08-05" AND Subject = "$SUBJECT"}); is( $tix->Count, 1); -exit 0;