X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Flive_component_controller_action_regexp.t;h=36a679e339f20fa8b41aee7dd34d497a354bb42e;hb=cc8a4eb9a08483f5fe80f674d19c612acc12a94d;hp=269794041f1a5d304154f165c57f99c75f30eaa6;hpb=873b98ee118b378ace23ffdba0b440bcefdfc8c1;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 2697940..36a679e 100644 --- a/t/aggregate/live_component_controller_action_regexp.t +++ b/t/aggregate/live_component_controller_action_regexp.t @@ -131,8 +131,10 @@ sub run_tests { 'TestApp::Controller::Action::Regexp', 'Test Class' ); + my $location = $response->header('location'); + $location =~ s/localhost(:\d+)?/localhost/; is( - $response->header('location'), + $location, $url, 'Redirect URI is the same as the request URI' );