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>
(cherry picked from commit f436bc639c)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Marcel de Rooy 2023-05-19 06:20:19 +00:00 committed by Matt Blenkinsop
parent d4d69ade8c
commit 9bd219768e
1 changed files with 4 additions and 0 deletions

View File

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