Commit c0d87561 authored by Yadd's avatar Yadd
Browse files

Clean warnings (#595)

parent f6ea9b5d
......@@ -134,6 +134,7 @@ clean_sessions();
done_testing( count() );
# Redefine LWP methods for tests
no warnings 'redefine';
sub LWP::UserAgent::request {
my ( $self, $req ) = @_;
ok( $req->uri =~ m#http://auth.sp.com(.*)#, 'Request from SP to IdP' );
......
......@@ -195,6 +195,7 @@ done_testing( count() );
no warnings 'redefine';
# Redefine LWP methods for tests
no warnings 'redefine';
sub LWP::UserAgent::request {
my ( $self, $req ) = @_;
ok( $req->uri =~ m#http://auth.idp.com(.*)#, 'Request from SP to IdP' );
......
......@@ -134,6 +134,7 @@ clean_sessions();
done_testing( count() );
# Redefine LWP methods for tests
no warnings 'redefine';
sub LWP::UserAgent::request {
my ( $self, $req ) = @_;
ok( $req->uri =~ m#http://auth.sp.com(.*)#, 'Request from SP to IdP' );
......
......@@ -134,6 +134,7 @@ clean_sessions();
done_testing( count() );
# Redefine LWP methods for tests
no warnings 'redefine';
sub LWP::UserAgent::request {
my ( $self, $req ) = @_;
ok( $req->uri =~ m#http://auth.sp.com(.*)#, 'Request from SP to IdP' );
......
......@@ -6,6 +6,8 @@ use Data::Dumper;
use LWP::UserAgent;
use 5.10.0;
no warnings 'redefine';
BEGIN {
use_ok('Lemonldap::NG::Portal::Main');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment