X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Faggregate%2Funit_load_catalyst_test.t;h=399b190489d9967e64fef31114b36a40c423e4c2;hp=00a829d247531e9d102a5f7fcad39514ccb35f04;hb=d5c1270360c155009fa138b6f0630044304f3c86;hpb=22a5833d436649391dc95877ca33f549308c6c3c diff --git a/t/aggregate/unit_load_catalyst_test.t b/t/aggregate/unit_load_catalyst_test.t index 00a829d..399b190 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;