Commit 399afe01 authored by Christophe Maudoux's avatar Christophe Maudoux

Fix Tests

parent 49655091
......@@ -260,9 +260,9 @@ sub tests {
},
# Warn if session timeout is lower than 10 minutes
timeoutActivity => sub {
sessionTimeout => sub {
return 1 unless ( defined $conf->{timeout} );
return ( 1, "Session timeout should be higher than ten minutes" )
return ( -1, "Session timeout should be higher than ten minutes" )
unless ( $conf->{timeout} > 600
|| $conf->{timeout} == 0 );
......@@ -271,7 +271,7 @@ sub tests {
},
# Error if session Activity Timeout is equal or lower than one minute
timeoutActivity => sub {
sessionTimeoutActivity => sub {
return 1 unless ( defined $conf->{timeoutActivity} );
return ( 0,
"Session activity timeout must be higher or equal than one minute"
......
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