# test redirect back to HTTP
SKIP:
{
- skip "These tests require a patch to Catalyst", 2;
- # patch is to Catalyst::Engine::HTTP::Base in 5.3x
- # Catalyst::Engine::Test in 5.5
+ if ( Catalyst->VERSION < 5.5 ) {
+ skip "These tests require Catalyst >= 5.5", 2;
+ }
ok( $res = request('https://secure.mydomain.com/ssl/unsecured'), 'request ok' );
is( $res->header('location'), 'http://www.mydomain.com/ssl/unsecured', 'other domain redirect uri ok' );
}