diff options
author | Louis Chemineau <louis@chmn.me> | 2024-09-20 11:26:22 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2024-09-23 16:59:58 +0200 |
commit | 483eaa7e726228fd957f91676295fced13c48bba (patch) | |
tree | fde2a92289f504bb8ea9e301f28fc2779c078f25 /apps | |
parent | 285136616e5df3d43c78ac0a3caa7a0e85f8d757 (diff) | |
download | nextcloud-server-backport/48207/stable28.tar.gz nextcloud-server-backport/48207/stable28.zip |
fix(users): Don't crash if disabled user is missing in the databasebackport/48207/stable28
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/tests/LDAPProviderTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/user_ldap/tests/LDAPProviderTest.php b/apps/user_ldap/tests/LDAPProviderTest.php index 3e34ce7bdbb..3c80eb2f41f 100644 --- a/apps/user_ldap/tests/LDAPProviderTest.php +++ b/apps/user_ldap/tests/LDAPProviderTest.php @@ -39,6 +39,7 @@ use OCP\EventDispatcher\IEventDispatcher; use OCP\ICacheFactory; use OCP\IConfig; use OCP\IServerContainer; +use Psr\Log\LoggerInterface; /** * Class LDAPProviderTest @@ -77,6 +78,7 @@ class LDAPProviderTest extends \Test\TestCase { $this->createMock(IConfig::class), $this->createMock(ICacheFactory::class), $this->createMock(IEventDispatcher::class), + $this->createMock(LoggerInterface::class), ]) ->getMock(); $userManager->expects($this->any()) |