summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/User_LDAPTest.php
diff options
context:
space:
mode:
authorroot <root@localhost.localdomain>2016-07-22 16:46:29 +0800
committerroot <root@localhost.localdomain>2016-07-22 16:46:29 +0800
commit02ec8b1726eb867e88dd2c31a74a080e451a31d1 (patch)
tree2ca1a1c490003ed8524cd71363b5e2f9c38a70f7 /apps/user_ldap/tests/User_LDAPTest.php
parent4b4990c48fd4c6841bde260b2b2e1bc665b46e1c (diff)
downloadnextcloud-server-02ec8b1726eb867e88dd2c31a74a080e451a31d1.tar.gz
nextcloud-server-02ec8b1726eb867e88dd2c31a74a080e451a31d1.zip
New LDAPProvider for user_ldap
Diffstat (limited to 'apps/user_ldap/tests/User_LDAPTest.php')
-rw-r--r--apps/user_ldap/tests/User_LDAPTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/user_ldap/tests/User_LDAPTest.php b/apps/user_ldap/tests/User_LDAPTest.php
index ae86e3cf3a2..47e789142e5 100644
--- a/apps/user_ldap/tests/User_LDAPTest.php
+++ b/apps/user_ldap/tests/User_LDAPTest.php
@@ -93,9 +93,11 @@ class User_LDAPTest extends \Test\TestCase {
->method('getDeletedUser')
->will($this->returnValue($offlineUser));
+ $helper = new \OCA\User_LDAP\Helper();
+
$access = $this->getMock('\OCA\User_LDAP\Access',
$accMethods,
- array($connector, $lw, $um));
+ array($connector, $lw, $um, $helper));
$um->setLdapAccess($access);