adjust static method vars as well
This commit is contained in:
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() {
|
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');
|
$confMethods = get_class_methods('\OCA\user_ldap\lib\Configuration');
|
||||||
$connMethods = get_class_methods('\OCA\user_ldap\lib\Connection');
|
$connMethods = get_class_methods('\OCA\user_ldap\lib\Connection');
|
||||||
$accMethods = get_class_methods('\OCA\user_ldap\lib\Access');
|
$accMethods = get_class_methods('\OCA\user_ldap\lib\Access');
|
||||||
|
|
Loading…
Reference in a new issue