adjust static method vars as well

This commit is contained in:
Arthur Schiwon 2014-08-11 16:05:43 +02:00
parent 371cab367d
commit aa0ddf21b5

View file

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