Update unit tests

Moo
Christophe Maudoux 5 years ago
parent 81a5d2552e
commit 26de10fd91
  1. 2
      lemonldap-ng-manager/t/70-viewer.t
  2. 2
      lemonldap-ng-manager/t/71-viewer-with-no-diff.t

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

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

Loading…
Cancel
Save