aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php
diff options
context:
space:
mode:
authorAndrew Summers <18727110+summersab@users.noreply.github.com>2023-09-01 16:07:49 -0500
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-05-30 14:16:24 +0200
commitd62eb333a7da9b3295dfa5b74a25454e020dbcd1 (patch)
treeb8ae09aaa95066849eab35163274dc8ec948ff61 /apps/user_ldap/tests/Integration/AbstractIntegrationTest.php
parent31b0a44cf65b6625636ea0fa15fb1a1122b525e1 (diff)
downloadnextcloud-server-d62eb333a7da9b3295dfa5b74a25454e020dbcd1.tar.gz
nextcloud-server-d62eb333a7da9b3295dfa5b74a25454e020dbcd1.zip
Refactor `OC\Server::getAvatarManager` in user_ldap app
Refactor `OC\Server::getAvatarManager` in user_ldap app (missed one) Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
Diffstat (limited to 'apps/user_ldap/tests/Integration/AbstractIntegrationTest.php')
-rw-r--r--apps/user_ldap/tests/Integration/AbstractIntegrationTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php b/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php
index 5ec04484bef..7cc1ab62a7d 100644
--- a/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php
+++ b/apps/user_ldap/tests/Integration/AbstractIntegrationTest.php
@@ -35,6 +35,7 @@ use OCA\User_LDAP\Helper;
use OCA\User_LDAP\LDAP;
use OCA\User_LDAP\User\Manager;
use OCA\User_LDAP\UserPluginManager;
+use OCP\IAvatarManager;
use OCP\Share\IManager;
use Psr\Log\LoggerInterface;
@@ -124,7 +125,7 @@ abstract class AbstractIntegrationTest {
\OC::$server->getConfig(),
new FilesystemHelper(),
\OC::$server->get(LoggerInterface::class),
- \OC::$server->getAvatarManager(),
+ \OC::$server->get(IAvatarManager::class),
new \OCP\Image(),
\OC::$server->getUserManager(),
\OC::$server->getNotificationManager(),