Commit 046d7401 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Fix regex unit tests (#1664)

parent 2fabde04
......@@ -72,7 +72,7 @@ sub iniCmb {
my $res = LLNG::Manager::Test->new( {
ini => {
logLevel => 'error',
requireToken => '"127.1.1.1" !~ /$env->{ipAddr}/',
requireToken => '$env->{ipAddr} !~ /127\.0\.[1-3]\.1/',
useSafeJail => 1,
authentication => 'Combination',
userDB => 'Same',
......
......@@ -31,7 +31,7 @@ SKIP: {
userDB => 'Same',
passwordDB => 'Demo',
captcha_mail_enabled => 0,
requireToken => '!$env->{ipAddr} || $env->{ipAddr} ne "127.1.1.1"',
requireToken => '$env->{ipAddr} !~ /127\.0\.[1-3]\.1/',
portalDisplayResetPassword => 1,
portalMainLogo => 'common/logos/logo_llng_old.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