Bug 40348: Remove warnings from api/v1/two_factor_auth.t
02:28:36 koha_1 | WARNING: The key derivation method "opensslv1" is deprecated. Using -pbkdf=>'pbkdf2' would be better. 02:28:36 koha_1 | Pass -nodeprecate=>1 to inhibit this message. 02:28:36 koha_1 | at /kohadevbox/koha/Koha/Patron.pm line 3216. We should deal with that on a separate bug report. For now we can remove the warnings from the log/output. Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit12e4e92e53) Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> (cherry picked from commitd0727bab0d) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
2dfa858d05
commit
2eb7815500
|
|
@ -61,8 +61,9 @@ sub new {
|
|||
);
|
||||
}
|
||||
return $class->SUPER::new(
|
||||
-key => $encryption_key,
|
||||
-cipher => 'Cipher::AES'
|
||||
-key => $encryption_key,
|
||||
-cipher => 'Cipher::AES',
|
||||
-nodeprecate => 1,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@
|
|||
|
||||
use Modern::Perl;
|
||||
|
||||
use Test::More tests => 2;
|
||||
use Test::More tests => 3;
|
||||
use Test::NoWarnings;
|
||||
use Test::Mojo;
|
||||
use Test::MockModule;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue