Chop out crap that is not needed
Tomas Doran [Sun, 15 Jul 2012 17:31:45 +0000 (18:31 +0100)]
Changes
Makefile.PL
t/live_verify_address.t

diff --git a/Changes b/Changes
index 90d0f84..724a850 100644 (file)
--- 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)
 
index 52a644c..48798d6 100644 (file)
@@ -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';
index 43c52c9..bc58b43 100644 (file)
@@ -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 => {}