X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Faggregate%2Funit_core_engine-prepare_path.t;h=cfeaddf4f92d73c3c1959cec91745d001a1319f2;hp=a7cad81c21df98ef4c88fe88bf9334ae706899da;hb=44cf095889e0f32e501830b3d3d279667146ea94;hpb=4904ee278992db70da965b94627728085b88de54 diff --git a/t/aggregate/unit_core_engine-prepare_path.t b/t/aggregate/unit_core_engine-prepare_path.t index a7cad81..cfeaddf 100644 --- a/t/aggregate/unit_core_engine-prepare_path.t +++ b/t/aggregate/unit_core_engine-prepare_path.t @@ -86,7 +86,6 @@ use Catalyst::Engine; is ''.$r->base, 'http://www.foo.com/oslobilder/', 'base correct'; } { - local $TODO = 'Another mod_rewrite case'; my $r = get_req (0, PATH_INFO => '/auth/login', SCRIPT_NAME => '/tx', @@ -127,13 +126,12 @@ sub get_req { PATH_INFO => '/', ); - my $engine = Catalyst::Engine->new( - env => { %template, @_ }, - ); + my $engine = Catalyst::Engine->new(); my $i = TestApp->new; $i->setup_finished(0); $i->config(use_request_uri_for_path => $use_request_uri_for_path); $i->setup_finished(1); + $engine->prepare_request($i, env => { %template, @_ }, response_cb => sub {}); $engine->prepare_path($i); return $i->req; }