Little things (#595)
This commit is contained in:
parent
ceae1dc7b8
commit
dcaa312ba0
|
@ -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 ) = @_;
|
||||
|
|
Loading…
Reference in New Issue
Block a user