mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user