diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-08-11 16:05:43 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-08-29 11:14:36 +0200 |
commit | aa0ddf21b5b94d52804c81f35f82890ffeeabf1a (patch) | |
tree | 6eccfaa55a9e1cd8fc7506b8d5821facf9463a87 | |
parent | 371cab367d2b786c0fadb3a76daeb3ba9138e164 (diff) | |
download | nextcloud-server-aa0ddf21b5b94d52804c81f35f82890ffeeabf1a.tar.gz nextcloud-server-aa0ddf21b5b94d52804c81f35f82890ffeeabf1a.zip |
adjust static method vars as well
-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'); |