Commit 21ba54ca authored by Christophe Maudoux's avatar Christophe Maudoux 🐛
Browse files

Fix warning

parent c1951ce3
......@@ -138,7 +138,7 @@ count(1);
expectReject( $res, 200, 35, "Expect PE_PASSWORD_OK" );
# Check updated password in session (#2430)
my $json =
$json =
expectJSON( $client->_get("/sessions/global/$id"), 'Get session content' );
is( $json->{_password}, "test", "password updated in session" );
count(1);
......
......@@ -63,4 +63,4 @@ SKIP: {
count($mainTests);
clean_sessions();
done_testing( count() );
done_testing();
......@@ -113,6 +113,7 @@ clean_sessions();
done_testing( count() );
# Redefine LWP methods for tests
no warnings 'redefine';
sub switch {
my $type = shift;
@Lemonldap::NG::Handler::Main::_onReload = @{
......
......@@ -39,7 +39,7 @@ SKIP: {
expectCookie( try( 'jkirk', 'jkirk' ) );
# Get mail reset code
my $query = getMailQuery('jkirk@trek.star');
$query = getMailQuery('jkirk@trek.star');
# Set new password
expectPortalError( updatePassword( $query, "kobayashi" ),
......
Supports Markdown
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