Bug 33777: Fix Auth_with_shibboleth.t

We need to 'mock' the new pref EmailFieldPrecedence

Test plan:
Run t/Auth_with_shibboleth.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Marcel de Rooy 2023-05-19 06:20:19 +00:00 committed by Tomas Cohen Arazi
parent 48ee69e69c
commit f436bc639c
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -423,6 +423,10 @@ sub mockedPref {
$return = 'OFF';
}
if ( $param eq 'EmailFieldPrecedence' ) {
$return = 'emailpro';
}
return $return;
}