diff --git a/tests/unit/workflow/engine/classes/PmFunctions/PMFNewUserTest.php b/tests/unit/workflow/engine/classes/PmFunctions/PMFNewUserTest.php index 18dea2982..3d68233b4 100644 --- a/tests/unit/workflow/engine/classes/PmFunctions/PMFNewUserTest.php +++ b/tests/unit/workflow/engine/classes/PmFunctions/PMFNewUserTest.php @@ -16,6 +16,8 @@ class PMFNewUserTest extends TestCase */ public function setUp() { + parent::setup(); + if (!defined('PPP_NUMERICAL_CHARACTER_REQUIRED')) { define('PPP_NUMERICAL_CHARACTER_REQUIRED', 1); } @@ -26,6 +28,14 @@ class PMFNewUserTest extends TestCase define('PPP_SPECIAL_CHARACTER_REQUIRED', 1); } } + + /** + * Creates the tearDown method + */ + public function tearDown() + { + parent::tearDown(); + } /** * It tests the PMFNewUser() function