From 863746852f1b0b94a3e097db7bdd1e10f674c95f Mon Sep 17 00:00:00 2001 From: bruno DA SILVA Date: Mon, 25 Nov 2019 16:53:04 +0100 Subject: [PATCH] =?UTF-8?q?n=C2=B0524=20-=20password=20policy=20:green=5Fh?= =?UTF-8?q?eart:=20fix=20CI=20:=20tests=20must=20be=20runned=20into=20a=20?= =?UTF-8?q?separate=20process=20in=20order=20to=20eliminate=20side=20effec?= =?UTF-8?q?ts=20of=20mocking=20the=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/coreExtensions/UserLocalTest.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/test/coreExtensions/UserLocalTest.php b/test/coreExtensions/UserLocalTest.php index d138d531f..476d0e1af 100644 --- a/test/coreExtensions/UserLocalTest.php +++ b/test/coreExtensions/UserLocalTest.php @@ -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) {