or plan skip_all =>
'Test::WWW::Mechanize::PSGI is required for this test';
+ eval { require Catalyst::Plugin::Authentication; 1 }
+ or plan skip_all => "Catalyst::Plugin::Authentication is required for this test";
+
plan tests => 12;
}
# 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 => {}