Handler: update test for svn commit r3468 (#717)

environments/ppa-mbqj77/deployments/1
François-Xavier Deltombe 11 years ago
parent 16e2a6a374
commit e2feaf796d
  1. 24
      lemonldap-ng-handler/t/05-Lemonldap-NG-Handler-Reload.t

@ -7,7 +7,7 @@
package My::Package;
use Test::More tests => 5;
use Test::More tests => 6;
BEGIN {
use_ok('Lemonldap::NG::Handler::Main');
@ -24,6 +24,28 @@ my $globalinit;
open STDERR, '>/dev/null';
my $tsv = {};
ok(
Lemonldap::NG::Handler::Reload->jailInit(
{
https => 0,
port => 0,
maintenance => 0,
vhostOptions => {
www1 => {
vhostHttps => 1,
vhostPort => 443,
vhostMaintenance => 1,
vhostAliases => 'www2 www3',
}
},
},
$tsv
),
'defaultValuesInit'
);
ok(
Lemonldap::NG::Handler::Reload->defaultValuesInit(
{

Loading…
Cancel
Save