X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fpsgi_file_testapp.t;h=ea06d558e8810245828fefea56cd6b15940d1c5b;hb=adf9b0f8d40595ceca4933111fe66d732eca5038;hp=b13464f55293d0127a55150a3e566805b02783f5;hpb=a6f3a029c29d53913d3ab7dcc851b09d554254ff;p=catagits%2FCatalyst-Runtime.git diff --git a/t/psgi_file_testapp.t b/t/psgi_file_testapp.t index b13464f..ea06d55 100644 --- a/t/psgi_file_testapp.t +++ b/t/psgi_file_testapp.t @@ -20,14 +20,14 @@ BEGIN { use TestApp; $main::have_loaded_psgi = 1; - my $app = sub { TestApp->psgi_app(@_) }; + my $app = TestApp->psgi_app; }; close($psgi); } use Catalyst::Test qw/ TestApp /; -ok $main::have_loaded_psgi; ok request('/'); +ok $main::have_loaded_psgi; done_testing;