N°6171 - Password Expiration: can expire mode has no effect on user who have never changed their password - test first

This commit is contained in:
odain
2023-05-04 13:52:45 +02:00
parent a0ecd59568
commit 692a8b978f

View File

@@ -359,17 +359,17 @@ class UserLocalTest extends ItopDataTestCase
'EXPIRE_NEVER: nominal case' => array(
'sExpirationMode' => UserLocal::EXPIRE_NEVER,
'oExpectedBefore' => null,
'bRenewedDateTouched' => false,
'bRenewedDateTouched' => true,
),
'EXPIRE_FORCE: nominal case' => array(
'sExpirationMode' => UserLocal::EXPIRE_FORCE,
'oExpectedBefore' => null,
'bRenewedDateTouched' => false,
'bRenewedDateTouched' => true,
),
'EXPIRE_ONE_TIME_PWD: nominal case' => array(
'sExpirationMode' => UserLocal::EXPIRE_ONE_TIME_PWD,
'oExpectedBefore' => null,
'bRenewedDateTouched' => false,
'bRenewedDateTouched' => true,
),
'date initiated' => array(
'sExpirationMode' => UserLocal::EXPIRE_CAN,