Bug 12026: [Rebase Follow-up] - Fix Test
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
22f1f3a26a
commit
da51c00496
|
|
@ -116,7 +116,7 @@ sub checkpw_shib {
|
|||
sub _autocreate {
|
||||
my ( $config, $match ) = @_;
|
||||
|
||||
my %borrower = ( shibbolethMatchField => $match );
|
||||
my %borrower = ( $config->{matchpoint} => $match );
|
||||
|
||||
while ( my ( $key, $entry ) = each %{$config->{'mapping'}} ) {
|
||||
$borrower{$key} = ( $entry->{'is'} && $ENV{ $entry->{'is'} } ) || $entry->{'content'} || '';
|
||||
|
|
|
|||
|
|
@ -97,7 +97,8 @@ sub reset_config {
|
|||
##############################################################
|
||||
|
||||
# Can module load
|
||||
use_ok('C4::Auth_with_shibboleth');
|
||||
use C4::Auth_with_shibboleth;
|
||||
require_ok('C4::Auth_with_shibboleth');
|
||||
$C4::Auth_with_shibboleth::debug = '0';
|
||||
|
||||
# Subroutine tests
|
||||
|
|
|
|||
Loading…
Reference in New Issue