Commit 42148200 authored by Xavier Guimard's avatar Xavier Guimard

Fix test (#1321)

parent f261c205
......@@ -10,7 +10,7 @@ BEGIN {
eval { unlink 't/userdb.db' };
my $mainTests = 16;
my $debug = 'debug';
my $debug = 'error';
my ( $issuer, $sp, $res );
my %handlerOR = ( issuer => [], sp => [] );
......@@ -24,8 +24,8 @@ SKIP: {
skip 'DBD::SQLite not found', $mainTests;
}
my $dbh = DBI->connect("dbi:SQLite:dbname=t/userdb.db");
$dbh->do('CREATE TABLE users (user text,password text,name text,uid text,cn text)');
$dbh->do("INSERT INTO users VALUES ('dwho','dwho','Doctor who','dwho','Doctor who')");
$dbh->do('CREATE TABLE users (user text,password text,name text,uid text,cn text,mail text)');
$dbh->do("INSERT INTO users VALUES ('dwho','dwho','Doctor who','dwho','Doctor who','dwho\@badwolf.org')");
# Initialization
ok( $issuer = issuer(), 'Issuer portal' );
......
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