adjust static method vars as well

remotes/origin/fix-10825
Arthur Schiwon 2014-08-11 16:05:43 +07:00
parent 371cab367d
commit aa0ddf21b5
1 changed files with 4 additions and 2 deletions

@ -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');