summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/integration/lib/integrationtestuserhome.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/tests/integration/lib/integrationtestuserhome.php')
-rw-r--r--apps/user_ldap/tests/integration/lib/integrationtestuserhome.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/user_ldap/tests/integration/lib/integrationtestuserhome.php b/apps/user_ldap/tests/integration/lib/integrationtestuserhome.php
index 95a3f850a63..189fbf4154b 100644
--- a/apps/user_ldap/tests/integration/lib/integrationtestuserhome.php
+++ b/apps/user_ldap/tests/integration/lib/integrationtestuserhome.php
@@ -67,10 +67,11 @@ class IntegrationTestUserHome extends AbstractIntegrationTest {
$this->userManager = new LDAPUserManager(
\OC::$server->getConfig(),
new \OCA\user_ldap\lib\FilesystemHelper(),
- new \OCA\user_ldap\lib\LogWrapper(),
+ new \OCA\User_LDAP\LogWrapper(),
\OC::$server->getAvatarManager(),
new \OCP\Image(),
- \OC::$server->getDatabaseConnection()
+ \OC::$server->getDatabaseConnection(),
+ \OC::$server->getUserManager()
);
}
@@ -82,7 +83,7 @@ class IntegrationTestUserHome extends AbstractIntegrationTest {
*/
protected function case1() {
\OC::$server->getConfig()->setAppValue('user_ldap', 'enforce_home_folder_naming_rule', false);
- $userManager = \oc::$server->getUserManager();
+ $userManager = \OC::$server->getUserManager();
$userManager->clearBackends();
$userManager->registerBackend($this->backend);
$users = $userManager->search('', 5, 0);