X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Funit_core_engine_fixenv-lighttpd.t;h=51456a56a90192c7090ed5e9e6021648ef2e7218;hb=6ca3b7de88bc467ca828496a614d84dc3a9a2b51;hp=9043290d69b54dde4409d33e4aea244fea80e4fb;hpb=64565a07d5d594ae7e18e1e3043d3c8b6e31cfb9;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/unit_core_engine_fixenv-lighttpd.t b/t/aggregate/unit_core_engine_fixenv-lighttpd.t index 9043290..51456a5 100644 --- a/t/aggregate/unit_core_engine_fixenv-lighttpd.t +++ b/t/aggregate/unit_core_engine_fixenv-lighttpd.t @@ -1,5 +1,3 @@ -#!perl - use strict; use warnings; @@ -38,7 +36,7 @@ sub fix_env { my (%input_env) = @_; my $mangled_env; - my $app = Catalyst->_wrapped_legacy_psgi_app(sub { + my $app = Catalyst->apply_default_middlewares(sub { my ($env) = @_; $mangled_env = $env; return [ 200, ['Content-Type' => 'text/plain'], [''] ];