summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-05-26 11:25:54 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-05-26 11:25:54 +0200
commit10ef98a3b16004a97b673ad5c740eb50bdfe6f26 (patch)
treed528c7a7eeb0c25c5de32c1bd25a67425b7839b5 /apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php
parentde953b4d749cfd9d2a792d106278b00476cd6286 (diff)
downloadnextcloud-server-10ef98a3b16004a97b673ad5c740eb50bdfe6f26.tar.gz
nextcloud-server-10ef98a3b16004a97b673ad5c740eb50bdfe6f26.zip
add missing INotificationManager when creating User backend, LDAP
UserManager Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php')
-rw-r--r--apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php b/apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php
index 57c48fa18e0..76f46385314 100644
--- a/apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php
+++ b/apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php
@@ -48,7 +48,7 @@ class IntegrationTestUserHome extends AbstractIntegrationTest {
$this->mapping = new UserMapping(\OC::$server->getDatabaseConnection());
$this->mapping->clear();
$this->access->setUserMapper($this->mapping);
- $this->backend = new \OCA\User_LDAP\User_LDAP($this->access, \OC::$server->getConfig(), \OC::$server->getNotificationManager());
+ $this->backend = new User_LDAP($this->access, \OC::$server->getConfig(), \OC::$server->getNotificationManager());
}
/**
@@ -73,7 +73,8 @@ class IntegrationTestUserHome extends AbstractIntegrationTest {
\OC::$server->getAvatarManager(),
new \OCP\Image(),
\OC::$server->getDatabaseConnection(),
- \OC::$server->getUserManager()
+ \OC::$server->getUserManager(),
+ \OC::$server->getNotificationManager()
);
}