Decrease user errors to "warn" in tests (#595)

This commit is contained in:
Xavier Guimard 2017-02-27 21:04:35 +00:00
parent c0c67fd0bd
commit bb67c25d75
1 changed files with 3 additions and 0 deletions

View File

@ -243,6 +243,9 @@ has ini => (
main::ok( $self->{p}->init($ini), 'Init' );
main::ok( $self->{app} = $self->{p}->run(), 'Portal app' );
main::count(3);
no warnings 'redefine';
eval
'sub Lemonldap::NG::Common::Logger::Std::error {return $_[0]->warn($_[1])}';
$self;
}
);