mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-07 01:54:12 +01:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user