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 { {} } );
# return LWP::UserAgent object
has ua => (
is => 'rw',
lasy => 1,
lazy => 1,
builder => sub {
# TODO : LWP options to use a proxy for example
......
......@@ -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 ) = @_;
......
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