Little things (#595)

This commit is contained in:
Xavier Guimard 2016-11-29 21:58:28 +00:00
parent ceae1dc7b8
commit dcaa312ba0
2 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,7 @@ has idpList => ( is => 'rw', default => sub { {} } );
# return LWP::UserAgent object
has ua => (
is => 'rw',
lasy => 1,
lazy => 1,
builder => sub {
# TODO : LWP options to use a proxy for example

View File

@ -10,6 +10,8 @@ BEGIN {
use_ok('Lemonldap::NG::Portal::Main');
}
no warnings 'redefine';
# Redefine LWP methods for tests
sub LWP::UserAgent::request {
my ( $self, $req ) = @_;