diff --git a/lemonldap-ng-portal/t/43-MailReset-LDAP.t b/lemonldap-ng-portal/t/43-MailReset-LDAP.t index 2752b2151..9038e51a7 100644 --- a/lemonldap-ng-portal/t/43-MailReset-LDAP.t +++ b/lemonldap-ng-portal/t/43-MailReset-LDAP.t @@ -10,7 +10,7 @@ BEGIN { } my ( $res, $user, $pwd ); -my $maintests = 7; +my $maintests = 8; my $mailSend = 0; my $mail2 = 0; @@ -88,6 +88,19 @@ SKIP: { ok( mail() =~ /Your password was changed/, 'Password was changed' ); + ok( + $res = $client->_post( + '/', + IO::String->new('user=dwho&password=zz&test=sql'), + length => 30 + ), + 'Auth query' + ); + expectOK($res); + my $id = expectCookie($res); + + $client->logout($id); + #print STDERR Dumper($query); } count($maintests);