X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Flive_component_controller_action_regexp.t;h=fd65665da17e5a949e3cd4005d957907a921c198;hb=0b0aee670c39f8cb8f140eb62de9bfaf2c343a24;hp=36a679e339f20fa8b41aee7dd34d497a354bb42e;hpb=81f25ce60d12146ada6baa3ed8db87a0e8a54408;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/live_component_controller_action_regexp.t b/t/aggregate/live_component_controller_action_regexp.t index 36a679e..fd65665 100644 --- a/t/aggregate/live_component_controller_action_regexp.t +++ b/t/aggregate/live_component_controller_action_regexp.t @@ -131,11 +131,9 @@ sub run_tests { 'TestApp::Controller::Action::Regexp', 'Test Class' ); - my $location = $response->header('location'); - $location =~ s/localhost(:\d+)?/localhost/; is( - $location, - $url, + $response->header('location'), + $response->request->uri, 'Redirect URI is the same as the request URI' ); }