Fix unit tests & Version

This commit is contained in:
Christophe Maudoux 2020-05-08 22:05:56 +02:00
parent 097ddc4251
commit 9bf915b5dc
9 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,7 @@ use strict;
use Exporter 'import';
use base qw(Exporter);
our $VERSION = '2.0.8';
our $VERSION = '2.0.9';
# CONSTANTS

View File

@ -1,7 +1,7 @@
# This file is generated by Lemonldap::NG::Manager::Build. Don't modify it by hand
package Lemonldap::NG::Common::Conf::DefaultValues;
our $VERSION = '2.0.8';
our $VERSION = '2.0.9';
sub defaultValues {
return {

View File

@ -5,7 +5,7 @@ use strict;
use Exporter 'import';
use base qw(Exporter);
our $VERSION = '2.0.8';
our $VERSION = '2.0.9';
our %EXPORT_TAGS = ( 'all' => [qw($simpleHashKeys $doubleHashKeys $specialNodeKeys $casAppMetaDataNodeKeys $casSrvMetaDataNodeKeys $oidcOPMetaDataNodeKeys $oidcRPMetaDataNodeKeys $samlIDPMetaDataNodeKeys $samlSPMetaDataNodeKeys $virtualHostKeys $specialNodeHash $authParameters $issuerParameters $samlServiceParameters $oidcServiceParameters $casServiceParameters)] );
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );

View File

@ -4,7 +4,7 @@ package Lemonldap::NG::Handler::Lib::StatusConstants;
use strict;
use Exporter 'import';
our $VERSION = '2.0.8';
our $VERSION = '2.0.9';
sub portalConsts {
return {

View File

@ -1,7 +1,7 @@
# This file is generated by Lemonldap::NG::Manager::Build. Don't modify it by hand
package Lemonldap::NG::Manager::Attributes;
our $VERSION = '2.0.8';
our $VERSION = '2.0.9';
sub perlExpr {
my ( $val, $conf ) = @_;

View File

@ -6,7 +6,7 @@
package Lemonldap::NG::Manager::Build::Attributes;
our $VERSION = '2.0.8';
our $VERSION = '2.0.9';
use strict;
use Regexp::Common qw/URI/;

View File

@ -18,7 +18,7 @@ sub body {
# Test that key value is sent
my $res = &client->jsonResponse('/view/1/portalDisplayOidcConsents');
ok( $res->{value} eq '$_oidcConnectedRP', 'Key found' );
ok( $res->{value} eq '$_oidcConsents', 'Key found' );
count(1);
# Test that hidden key values are NOT sent

View File

@ -44,7 +44,7 @@ count(2);
# Test that Conf key value is sent
$res = $client2->jsonResponse('/view/2/portalDisplayOidcConsents');
ok( $res->{value} eq '$_oidcConnectedRP', 'Key found' )
ok( $res->{value} eq '$_oidcConsents', 'Key found' )
or print STDERR Dumper($res);
count(1);

View File

@ -4,7 +4,7 @@ package Lemonldap::NG::Portal::Main::Constants;
use strict;
use Exporter 'import';
our $VERSION = '2.0.8';
our $VERSION = '2.0.9';
use constant HANDLER => 'Lemonldap::NG::Handler::PSGI::Main';
use constant {