Commit 46f685f9 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Improve unit test (#1632)

parent 77ccc9bb
...@@ -12,6 +12,7 @@ my $client = LLNG::Manager::Test->new( { ...@@ -12,6 +12,7 @@ my $client = LLNG::Manager::Test->new( {
ini => { ini => {
logLevel => 'error', logLevel => 'error',
ext2fActivation => 1, ext2fActivation => 1,
ext2fCodeActivation => 0,
ext2FSendCommand => 't/sendOTP.pl -uid $uid', ext2FSendCommand => 't/sendOTP.pl -uid $uid',
ext2FValidateCommand => 't/vrfyOTP.pl -uid $uid -code $code', ext2FValidateCommand => 't/vrfyOTP.pl -uid $uid -code $code',
authentication => 'Demo', authentication => 'Demo',
......
...@@ -10,8 +10,9 @@ count(1); ...@@ -10,8 +10,9 @@ count(1);
my $client = LLNG::Manager::Test->new( { my $client = LLNG::Manager::Test->new( {
ini => { ini => {
logLevel => 'error', logLevel => 'debug',
ext2fActivation => 1, ext2fActivation => 1,
ext2fCodeActivation => 0,
ext2FSendCommand => 't/sendOTP.pl -uid $uid', ext2FSendCommand => 't/sendOTP.pl -uid $uid',
ext2FValidateCommand => 't/vrfyOTP.pl -uid $uid -code $code', ext2FValidateCommand => 't/vrfyOTP.pl -uid $uid -code $code',
authentication => 'Demo', authentication => 'Demo',
......
...@@ -19,6 +19,7 @@ my $client = LLNG::Manager::Test->new( { ...@@ -19,6 +19,7 @@ my $client = LLNG::Manager::Test->new( {
rest2fLogo => 'u2f.png', rest2fLogo => 'u2f.png',
totp2fActivation => '$uid eq "dwho"', totp2fActivation => '$uid eq "dwho"',
ext2fActivation => 1, ext2fActivation => 1,
ext2fCodeActivation => 0,
ext2FSendCommand => 't/sendOTP.pl -uid $uid', ext2FSendCommand => 't/sendOTP.pl -uid $uid',
ext2FValidateCommand => 't/vrfyOTP.pl -uid $uid -code $code', ext2FValidateCommand => 't/vrfyOTP.pl -uid $uid -code $code',
ext2fLogo => 'yubikey.png', ext2fLogo => 'yubikey.png',
......
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