From: Christian Hansen Date: Sun, 16 Oct 2005 21:35:34 +0000 (+0000) Subject: .. and updated tests X-Git-Tag: v1.0~51 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FHTTP-Request-AsCGI.git;a=commitdiff_plain;h=878085c87f3f78e4bfc4dce3762daf7a33c2b20e .. and updated tests --- diff --git a/t/05env.t b/t/05env.t index 46252d0..51cd0b8 100644 --- a/t/05env.t +++ b/t/05env.t @@ -19,7 +19,7 @@ $c->setup; is( $ENV{GATEWAY_INTERFACE}, 'CGI/1.1', 'GATEWAY_INTERFACE' ); is( $ENV{HTTP_HOST}, 'www.host.com:80', 'HTTP_HOST' ); is( $ENV{QUERY_STRING}, 'a=1&b=2', 'QUERY_STRING' ); -is( $ENV{SCRIPT_NAME}, '/cgi-bin/script.cgi', 'SCRIPT_NAME' ); +is( $ENV{SCRIPT_NAME}, '/', 'SCRIPT_NAME' ); is( $ENV{REQUEST_METHOD}, 'GET', 'REQUEST_METHOD' ); is( $ENV{SERVER_NAME}, 'www.host.com', 'SERVER_NAME' ); is( $ENV{SERVER_PORT}, '80', 'SERVER_PORT' );