From: Tomas Doran Date: Sun, 15 Jul 2012 17:31:45 +0000 (+0100) Subject: Chop out crap that is not needed X-Git-Tag: 0.36~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session.git;a=commitdiff_plain;h=df76da4a8640b9b6dcbc51b3a9a42c5f819ae699 Chop out crap that is not needed --- diff --git a/Changes b/Changes index 90d0f84..724a850 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension Catalyst::Plugin::Session + - Remove use of Plack::Middleware::ForceEnv from the tests + as it was not used / needed + 0.35 2012-04-24 - Implement a 'change_session_expires' method (gshank) diff --git a/Makefile.PL b/Makefile.PL index 52a644c..48798d6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -32,7 +32,6 @@ requires 'Test::More' => '0.88'; test_requires 'Test::Deep'; test_requires 'Test::Exception'; test_requires 'Test::WWW::Mechanize::PSGI'; -test_requires 'Plack::Middleware::ForceEnv'; resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Session.git'; author_tests 't/author'; diff --git a/t/live_verify_address.t b/t/live_verify_address.t index 43c52c9..bc58b43 100644 --- a/t/live_verify_address.t +++ b/t/live_verify_address.t @@ -38,13 +38,8 @@ $ua->content_contains('session variable set'); # Change Client -#local $ENV{REMOTE_ADDR} = "192.168.1.2"; use Plack::Builder; my $app = SessionTestApp->psgi_app(@_); -builder { - enable 'ForceEnv' => REMOTE_ADDR => "192.168.1.2"; - $app; -}; my $ua2 = Test::WWW::Mechanize::PSGI->new( app => $app, cookie_jar => {}