Improve unit test (TOTP enable globalCache)
This commit is contained in:
parent
e68d5ed2c8
commit
fc9de124c1
|
@ -23,7 +23,7 @@ close F;
|
|||
|
||||
my $client = LLNG::Manager::Test->new( {
|
||||
ini => {
|
||||
logLevel => 'error',
|
||||
logLevel => 'debug',
|
||||
authentication => 'Demo',
|
||||
userDB => 'Same',
|
||||
loginHistoryEnabled => 0,
|
||||
|
@ -36,6 +36,7 @@ my $client = LLNG::Manager::Test->new( {
|
|||
contextSwitchingStopWithLogout => 0,
|
||||
checkUser => 1,
|
||||
notification => 1,
|
||||
tokenUseGlobalStorage => 1,
|
||||
notificationStorage => 'File',
|
||||
notificationStorageOptions => { dirName => $main::tmpDir },
|
||||
}
|
||||
|
@ -411,7 +412,8 @@ ok(
|
|||
|
||||
( $host, $url, $query ) =
|
||||
expectForm( $res, undef, '/checkuser', 'user', 'url' );
|
||||
ok( $res->[2]->[0] =~ m%<span trspan="checkUserComputeSession">%, 'Found trspan="checkUserComputeSession"' )
|
||||
ok( $res->[2]->[0] =~ m%<span trspan="checkUserComputeSession">%,
|
||||
'Found trspan="checkUserComputeSession"' )
|
||||
or explain( $res->[2]->[0], 'trspan="checkUserComputeSession"' );
|
||||
ok( $res->[2]->[0] =~ m%<td scope="row">authMode</td>%, 'Found macro authMode' )
|
||||
or explain( $res->[2]->[0], 'Macro Key authMode' );
|
||||
|
|
Loading…
Reference in New Issue
Block a user