Fix little warnings (#1559)
This commit is contained in:
parent
42bf43e023
commit
02f8c41030
|
@ -13,7 +13,10 @@ use Lemonldap::NG::Common::Apache::Session;
|
|||
# Workaround for another ModPerl/Mouse issue...
|
||||
BEGIN {
|
||||
require Mouse;
|
||||
my $v = sprintf( "%d.%03d%03d", ( $Mouse::VERSION =~ /(\d+)/g ) );
|
||||
my $v =
|
||||
$Mouse::VERSION
|
||||
? sprintf( "%d.%03d%03d", ( $Mouse::VERSION =~ /(\d+)/g ) )
|
||||
: 0;
|
||||
if ( $v < 2.005001 and $Lemonldap::NG::Handler::Apache2::Main::VERSION ) {
|
||||
require Moose;
|
||||
Moose->import();
|
||||
|
|
|
@ -8,7 +8,9 @@ use Lemonldap::NG::Common::Safelib; #link protected safe Safe object
|
|||
# Workaround for another ModPerl/Mouse issue...
|
||||
BEGIN {
|
||||
require Mouse;
|
||||
my $v = sprintf( "%d.%03d%03d", ( $Mouse::VERSION =~ /(\d+)/g ) );
|
||||
my $v = $Mouse::VERSION
|
||||
? sprintf( "%d.%03d%03d", ( $Mouse::VERSION =~ /(\d+)/g ) )
|
||||
: 0;
|
||||
if ( $v < 2.005001 and $Lemonldap::NG::Handler::Apache2::Main::VERSION ) {
|
||||
require Moose;
|
||||
Moose->import();
|
||||
|
|
|
@ -190,7 +190,7 @@ SKIP: {
|
|||
'Authentication against newly-modified password'
|
||||
);
|
||||
expectOK($res);
|
||||
my $id = expectCookie($res);
|
||||
$id = expectCookie($res);
|
||||
|
||||
# Verify that password is hashed with correct scheme (dbiDynamicHashNewPasswordScheme)
|
||||
my $sth = $dbh->prepare("SELECT password FROM users WHERE user='jsmith';");
|
||||
|
|
Loading…
Reference in New Issue
Block a user