Commit b73fceaf authored by Clément OUDOT's avatar Clément OUDOT

Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng

parents e62d865a f98734ad
......@@ -7,7 +7,6 @@ Build-Depends: debhelper (>= 10),
po-debconf
Build-Depends-Indep: libapache-session-perl,
libauthen-oath-perl,
libauthen-u2f-perl,
libcache-cache-perl,
libclone-perl,
libconfig-inifiles-perl,
......@@ -16,7 +15,6 @@ Build-Depends-Indep: libapache-session-perl,
libcrypt-openssl-rsa-perl,
libcrypt-openssl-x509-perl,
libcrypt-rijndael-perl,
libcrypt-u2f-server-perl,
libdbd-sqlite3-perl,
libdbi-perl,
libdigest-hmac-perl,
......
......@@ -35,7 +35,7 @@ SKIP: {
my $client = LLNG::Manager::Test->new(
{ ini => {
logLevel => 'error',
logLevel => 'debug',
useSafeJail => 1,
portalDisplayRegister => 1,
authentication => 'Choice',
......
......@@ -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);
......
Markdown is supported
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