Fix regex unit tests (#1664)
This commit is contained in:
parent
2fabde045b
commit
046d740109
|
@ -72,11 +72,11 @@ 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',
|
||||
|
||||
|
||||
combination => $expr,
|
||||
combModules => {
|
||||
DB => {
|
||||
|
|
|
@ -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',
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user