Decrease user errors to "warn" in tests (#595)
This commit is contained in:
parent
c0c67fd0bd
commit
bb67c25d75
|
@ -243,6 +243,9 @@ has ini => (
|
||||||
main::ok( $self->{p}->init($ini), 'Init' );
|
main::ok( $self->{p}->init($ini), 'Init' );
|
||||||
main::ok( $self->{app} = $self->{p}->run(), 'Portal app' );
|
main::ok( $self->{app} = $self->{p}->run(), 'Portal app' );
|
||||||
main::count(3);
|
main::count(3);
|
||||||
|
no warnings 'redefine';
|
||||||
|
eval
|
||||||
|
'sub Lemonldap::NG::Common::Logger::Std::error {return $_[0]->warn($_[1])}';
|
||||||
$self;
|
$self;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user