Avoid calling init without valid lemonldap-ng.ini (#1162)
This commit is contained in:
parent
64027a901a
commit
cf1b164058
|
@ -46,7 +46,8 @@ my $conf = {
|
|||
},
|
||||
};
|
||||
|
||||
ok( $h->init($conf), 'init' );
|
||||
eval { $h->localConfig($conf); $h->logLevelInit() };
|
||||
ok( !$@, 'init' );
|
||||
ok( $h->configReload($conf), 'Load conf' );
|
||||
|
||||
ok( $h->tsv->{portal}->() eq 'http://auth.example.com/', 'portal' );
|
||||
|
|
Loading…
Reference in New Issue
Block a user