Update unit test
This commit is contained in:
parent
8ac93e034d
commit
7c40b39a8d
|
@ -27,6 +27,7 @@ my $ini = {
|
|||
cda => 1,
|
||||
notification => 1,
|
||||
portalCheckLogins => 1,
|
||||
portalDisplayFavApps => 1,
|
||||
stayConnected => 1,
|
||||
bruteForceProtection => 1,
|
||||
grantSessionRules => 1,
|
||||
|
@ -42,8 +43,8 @@ my $ini = {
|
|||
};
|
||||
|
||||
ok( $p = Lemonldap::NG::Portal::Main->new, 'Portal object' );
|
||||
ok( $p->init($ini), 'Init' );
|
||||
ok( $app = $p->run, 'App' );
|
||||
ok( $p->init($ini), 'Init' );
|
||||
ok( $app = $p->run, 'App' );
|
||||
|
||||
eval { Data::Dumper::Dumper( {} ) };
|
||||
ok( $@, "Portal doesn't depend on Data::Dumper" );
|
||||
|
|
Loading…
Reference in New Issue