X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Funit_load_catalyst_test.t;h=036c3b8a1ab82812625bfc46427965e762dd6845;hb=439bc59c795c896db3b43daaff4e10c3f9741b1a;hp=fa8144c7bc3afb1b7bb2f4428ea938c3a645e335;hpb=02fee6c690aa8c2a8ccd2d862928ec4c64e63712;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/unit_load_catalyst_test.t b/t/aggregate/unit_load_catalyst_test.t index fa8144c..036c3b8 100644 --- a/t/aggregate/unit_load_catalyst_test.t +++ b/t/aggregate/unit_load_catalyst_test.t @@ -3,9 +3,7 @@ use strict; use warnings; -use FindBin; -use lib "$FindBin::Bin/../lib"; -use Test::More tests => 61; +use Test::More; use FindBin qw/$Bin/; use lib "$Bin/../lib"; use Catalyst::Utils; @@ -26,7 +24,7 @@ my %Meth = ( ### make sure we're not trying to connect to a remote host -- these are local tests local $ENV{CATALYST_SERVER}; -use_ok( $Class ); +use Catalyst::Test (); ### check available methods { ### turn of redefine warnings, we'll get new subs exported @@ -155,3 +153,4 @@ lives_ok { request(GET('/dummy'), []); } 'array additional param to request method ignored'; +done_testing;