Commit dcaa312b authored by Yadd's avatar Yadd
Browse files

Little things (#595)

parent ceae1dc7
...@@ -25,7 +25,7 @@ has idpList => ( is => 'rw', default => sub { {} } ); ...@@ -25,7 +25,7 @@ has idpList => ( is => 'rw', default => sub { {} } );
# return LWP::UserAgent object # return LWP::UserAgent object
has ua => ( has ua => (
is => 'rw', is => 'rw',
lasy => 1, lazy => 1,
builder => sub { builder => sub {
# TODO : LWP options to use a proxy for example # TODO : LWP options to use a proxy for example
......
...@@ -10,6 +10,8 @@ BEGIN { ...@@ -10,6 +10,8 @@ BEGIN {
use_ok('Lemonldap::NG::Portal::Main'); use_ok('Lemonldap::NG::Portal::Main');
} }
no warnings 'redefine';
# Redefine LWP methods for tests # Redefine LWP methods for tests
sub LWP::UserAgent::request { sub LWP::UserAgent::request {
my ( $self, $req ) = @_; my ( $self, $req ) = @_;
......
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