summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-11-06 16:07:31 +0100
committerGitHub <noreply@github.com>2017-11-06 16:07:31 +0100
commit5411d60b249cc12b429ed8083e7f34d1415d278e (patch)
treef50b1b15040a14a663427b6868c111c7176a5eb2 /apps/user_ldap/tests/Integration/AbstractIntegrationTest.php
parent0256f68c4909ecacc1b2b515253523809a870868 (diff)
parentfa565750d1f94f9d3f7e2229e7ec7aadd0d06063 (diff)
downloadnextcloud-server-5411d60b249cc12b429ed8083e7f34d1415d278e.tar.gz
nextcloud-server-5411d60b249cc12b429ed8083e7f34d1415d278e.zip
Merge pull request #5321 from coletivoEITA/user_ldap_plugins_structure
Implement plugins infrastructure in User_LDAP
Diffstat (limited to 'apps/user_ldap/tests/Integration/AbstractIntegrationTest.php')
-rw-r--r--apps/user_ldap/tests/Integration/AbstractIntegrationTest.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php b/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php
index 84e1e6b458a..8f9104999dd 100644
--- a/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php
+++ b/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php
@@ -68,6 +68,13 @@ abstract class AbstractIntegrationTest {
* the LDAP backend.
*/
public function init() {
+ \OC::$server->registerService('LDAPUserPluginManager', function() {
+ return new \OCA\User_LDAP\UserPluginManager();
+ });
+ \OC::$server->registerService('LDAPGroupPluginManager', function() {
+ return new \OCA\User_LDAP\GroupPluginManager();
+ });
+
$this->initLDAPWrapper();
$this->initConnection();
$this->initUserManager();