diff options
Diffstat (limited to 'apps/user_ldap/tests/wizard.php')
-rw-r--r-- | apps/user_ldap/tests/wizard.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/user_ldap/tests/wizard.php b/apps/user_ldap/tests/wizard.php index 867fba11f27..1f420f9ee8a 100644 --- a/apps/user_ldap/tests/wizard.php +++ b/apps/user_ldap/tests/wizard.php @@ -43,9 +43,11 @@ class Test_Wizard extends \PHPUnit_Framework_TestCase { } private function getWizardAndMocks() { - static $conMethods; + static $confMethods; + static $connMethods; + static $accMethods; - if(is_null($conMethods)) { + if(is_null($confMethods)) { $confMethods = get_class_methods('\OCA\user_ldap\lib\Configuration'); $connMethods = get_class_methods('\OCA\user_ldap\lib\Connection'); $accMethods = get_class_methods('\OCA\user_ldap\lib\Access'); |