summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-04-25 18:52:00 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-06-03 12:59:11 +0200
commit3fed96af0ee3c7b3159df8cad73dd1830d08208c (patch)
tree63e21444aa0c516bec616087bb67e82e6723eb82 /apps/user_ldap/tests
parentf9a9085faf69a720aacb437cdfc96505bd614acf (diff)
downloadnextcloud-server-3fed96af0ee3c7b3159df8cad73dd1830d08208c.tar.gz
nextcloud-server-3fed96af0ee3c7b3159df8cad73dd1830d08208c.zip
clean up
Diffstat (limited to 'apps/user_ldap/tests')
-rw-r--r--apps/user_ldap/tests/user_ldap.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/user_ldap/tests/user_ldap.php b/apps/user_ldap/tests/user_ldap.php
index 089684f609d..8787e023655 100644
--- a/apps/user_ldap/tests/user_ldap.php
+++ b/apps/user_ldap/tests/user_ldap.php
@@ -39,14 +39,12 @@ class Test_User_Ldap_Direct extends \PHPUnit_Framework_TestCase {
private function getAccessMock() {
static $conMethods;
static $accMethods;
- static $umMethods;
static $uMethods;
- if(is_null($conMethods) || is_null($accMethods) || is_null($umMethods)) {
+ if(is_null($conMethods) || is_null($accMethods)) {
$conMethods = get_class_methods('\OCA\user_ldap\lib\Connection');
$accMethods = get_class_methods('\OCA\user_ldap\lib\Access');
unset($accMethods[array_search('getConnection', $accMethods)]);
- $umMethods = get_class_methods('\OCA\user_ldap\lib\user\Manager');
$uMethods = get_class_methods('\OCA\user_ldap\lib\user\User');
unset($uMethods[array_search('getUsername', $uMethods)]);
unset($uMethods[array_search('getDN', $uMethods)]);