summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-08-11 16:05:43 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-08-29 11:14:36 +0200
commitaa0ddf21b5b94d52804c81f35f82890ffeeabf1a (patch)
tree6eccfaa55a9e1cd8fc7506b8d5821facf9463a87
parent371cab367d2b786c0fadb3a76daeb3ba9138e164 (diff)
downloadnextcloud-server-aa0ddf21b5b94d52804c81f35f82890ffeeabf1a.tar.gz
nextcloud-server-aa0ddf21b5b94d52804c81f35f82890ffeeabf1a.zip
adjust static method vars as well
-rw-r--r--apps/user_ldap/tests/wizard.php6
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');