Commit 350587b5 authored by Xavier Guimard's avatar Xavier Guimard

Fix tests (#595)

parent 415db52d
......@@ -1403,7 +1403,7 @@
"title": "passwordManagement"
}, {
"_nodes": [{
"default": "Demo",
"default": "Null",
"id": "registerDB",
"select": [{
"k": "AD",
......@@ -1420,10 +1420,6 @@
}],
"title": "registerDB",
"type": "select"
}, {
"default": "http://auth.example.com/register.pl",
"id": "registerUrl",
"title": "registerUrl"
}, {
"default": 0,
"id": "registerTimeout",
......
......@@ -1560,7 +1560,7 @@
"title": "register",
"type": "simpleInputContainer",
"nodes": [{
"default": "Demo",
"default": "Null",
"id": "registerDB",
"select": [{
"k": "AD",
......@@ -1577,12 +1577,7 @@
}],
"title": "registerDB",
"type": "select",
"data": "Demo"
}, {
"default": "http://auth.example.com/register.pl",
"id": "registerUrl",
"title": "registerUrl",
"data": "http://auth.example.com/register.pl"
"data": "Null"
}, {
"default": 0,
"id": "registerTimeout",
......
......@@ -1571,7 +1571,7 @@
"title": "register",
"type": "simpleInputContainer",
"nodes": [{
"default": "Demo",
"default": "Null",
"id": "registerDB",
"select": [{
"k": "AD",
......@@ -1588,12 +1588,7 @@
}],
"title": "registerDB",
"type": "select",
"data": "Demo"
}, {
"default": "http://auth.example.com/register.pl",
"id": "registerUrl",
"title": "registerUrl",
"data": "http://auth.example.com/register.pl"
"data": "Null"
}, {
"default": 0,
"id": "registerTimeout",
......
......@@ -1560,7 +1560,7 @@
"title": "register",
"type": "simpleInputContainer",
"nodes": [{
"default": "Demo",
"default": "Null",
"id": "registerDB",
"select": [{
"k": "AD",
......@@ -1577,12 +1577,7 @@
}],
"title": "registerDB",
"type": "select",
"data": "Demo"
}, {
"default": "http://auth.example.com/register.pl",
"id": "registerUrl",
"title": "registerUrl",
"data": "http://auth.example.com/register.pl"
"data": "Null"
}, {
"default": 0,
"id": "registerTimeout",
......
......@@ -5,7 +5,7 @@ use IO::String;
require 't/test-lib.pm';
my $res;
my $mainTests = 1;
my $mainTests = 2;
eval { unlink 't/userdb.db' };
......@@ -51,6 +51,8 @@ SKIP: {
}
}
);
# Test LDAP and SQL
foreach my $postString (
'user='
. ( $ENV{LDAPACCOUNT} || 'dwho' )
......
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