Handle changed defaults in Argon2PasswordTest::testPartialConfig()
authorBrad Jorsch <bjorsch@wikimedia.org>
Fri, 16 Aug 2019 18:44:29 +0000 (14:44 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Fri, 16 Aug 2019 18:44:29 +0000 (14:44 -0400)
commit8698bc3b42215934651c3e81fdd3fb9e37586836
tree6d5b82482abf1e154ef13264f3ab6415780466bd
parent94048ef7b6ac6ba4c6c7203a40976204cda2436b
Handle changed defaults in Argon2PasswordTest::testPartialConfig()

PHP 7.2.21 and 7.3.8 changed the default settings for PASSWORD_ARGON2I.
Load the default settings at runtime so the test can work.

Bug: T230487
Change-Id: I55a0f1af160c822113c9f86f8f8cce558da61736
tests/phpunit/includes/password/Argon2PasswordTest.php