From aa0ddf21b5b94d52804c81f35f82890ffeeabf1a Mon Sep 17 00:00:00 2001
From: Arthur Schiwon <blizzz@owncloud.com>
Date: Mon, 11 Aug 2014 16:05:43 +0200
Subject: [PATCH] adjust static method vars as well

---
 apps/user_ldap/tests/wizard.php | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/apps/user_ldap/tests/wizard.php b/apps/user_ldap/tests/wizard.php
index 867fba11f2..1f420f9ee8 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');
-- 
GitLab