summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2017-04-24 12:17:04 +0200
committerGitHub <noreply@github.com>2017-04-24 12:17:04 +0200
commit42e805f0578b95206fdddabfe6234b0880c27b1e (patch)
treed9dc2870f2727ac0b35e95681ebc320222c5cc17 /apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php
parent3d671cc536b1b472c746fd4ea8f60135f4935a44 (diff)
parent5fa218051bb7cafe9acfdc223fe6a6d4605dacdc (diff)
downloadnextcloud-server-42e805f0578b95206fdddabfe6234b0880c27b1e.tar.gz
nextcloud-server-42e805f0578b95206fdddabfe6234b0880c27b1e.zip
Merge pull request #1023 from GitHubUser4234/ldap_password_renew_pr
Handle password expiry in user_ldap
Diffstat (limited to 'apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php')
-rw-r--r--apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php
index 7c8f9475b41..3fb5a67591b 100644
--- a/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php
+++ b/apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php
@@ -45,7 +45,7 @@ class IntegrationTestUserAvatar extends AbstractIntegrationTest {
$this->mapping = new UserMapping(\OC::$server->getDatabaseConnection());
$this->mapping->clear();
$this->access->setUserMapper($this->mapping);
- $userBackend = new \OCA\User_LDAP\User_LDAP($this->access, \OC::$server->getConfig());
+ $userBackend = new \OCA\User_LDAP\User_LDAP($this->access, \OC::$server->getConfig(), \OC::$server->getNotificationManager());
\OC_User::useBackend($userBackend);
}
@@ -130,7 +130,8 @@ class IntegrationTestUserAvatar extends AbstractIntegrationTest {
\OC::$server->getAvatarManager(),
new \OCP\Image(),
\OC::$server->getDatabaseConnection(),
- \OC::$server->getUserManager()
+ \OC::$server->getUserManager(),
+ \OC::$server->getNotificationManager()
);
}