$ENV{CATALYST_SERVER} ||= "http://localhost:$PORT";
}
-use Test::More tests => 8;
+use Test::More tests => 9;
use Test::Exception;
BEGIN {
}
SKIP: {
- skip $skip, 7 if $skip;
+ skip $skip, 8 if $skip;
lives_ok { $m->get_ok( '/', 'Get a multi Content-Type response' ) }
'Survive to a multi Content-Type sting';
# Test a redirect with a remote server now too.
$m->get_ok( '/hello' );
is($m->uri, "$ENV{CATALYST_SERVER}/");
+
+ $m->get_ok( '/host' );
+ $m->content_contains('Host: localhost:$PORT') or diag $m->content;
+
}
END {