n°524 - password policy

💚 fix CI : tests must be runned into a separate process in order to eliminate side effects of mocking the config
This commit is contained in:
bruno DA SILVA
2019-11-25 16:53:04 +01:00
parent f416f994c9
commit 863746852f

View File

@@ -17,6 +17,13 @@ use UserLocalPasswordPolicyMockValidBis;
use UserLocalPasswordValidity;
use UserPasswordPolicyRegex;
/**
* test class for UserLocal class
*
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
* @backupGlobals disabled
*/
class UserLocalTest extends ItopTestCase
{
@@ -32,9 +39,6 @@ class UserLocalTest extends ItopTestCase
/**
* @dataProvider ProviderValidatePassword
*
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
* @backupGlobals disabled
*/
public function testValidatePassword($sPassword, $aValidatorCollection, $aConfigValueMap, $bExpectedCheckStatus, $expectedCheckIssues = null)
{