From: Norbert Buchmuller Date: Mon, 6 Jul 2009 22:31:20 +0000 (+0000) Subject: Fixed a warning (redefined variable). X-Git-Tag: v0.07~16 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-RequireSSL.git;a=commitdiff_plain;h=4a6b6badbf9b5eb2d944af681d667d95bace49c7 Fixed a warning (redefined variable). --- diff --git a/t/04ssl.t b/t/04ssl.t index 83fcfcc..21e05b5 100644 --- a/t/04ssl.t +++ b/t/04ssl.t @@ -21,7 +21,7 @@ ok( $res = request('http://localhost/ssl/secured?a=2&a=1&b=3&c=4'), 'request ok' is( $res->header('location'), 'https://localhost/ssl/secured?a=1&a=2&b=3&c=4', 'redirect with params ok' ); # test that it does not redirect for actions where SSL mode is optional -ok( my $res = request('http://localhost/ssl/maybe_secured'), 'request ok' ); +ok( $res = request('http://localhost/ssl/maybe_secured'), 'request ok' ); is( $res->code, 200, 'no redirect for optional SSL action' ); # test that it doesn't redirect on POST