aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Config/UserMountCacheTest.php
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2024-09-20 11:26:22 +0200
committerLouis Chemineau <louis@chmn.me>2024-09-23 18:06:38 +0200
commit9a34a6c4c4f556ccc6f1b6cb6d0cf8a651840fb0 (patch)
tree0ad6e95dbc751d682705e1c1c58d66073a965a23 /tests/lib/Files/Config/UserMountCacheTest.php
parentc15e2411db080fcb57a4200953a7c08f5ecea8d7 (diff)
downloadnextcloud-server-backport/48207/stable30.tar.gz
nextcloud-server-backport/48207/stable30.zip
fix(users): Don't crash if disabled user is missing in the databasebackport/48207/stable30
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'tests/lib/Files/Config/UserMountCacheTest.php')
-rw-r--r--tests/lib/Files/Config/UserMountCacheTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Config/UserMountCacheTest.php b/tests/lib/Files/Config/UserMountCacheTest.php
index d84f4469e8b..946203100d2 100644
--- a/tests/lib/Files/Config/UserMountCacheTest.php
+++ b/tests/lib/Files/Config/UserMountCacheTest.php
@@ -62,7 +62,7 @@ class UserMountCacheTest extends TestCase {
->expects($this->any())
->method('getAppValue')
->willReturnArgument(2);
- $this->userManager = new Manager($config, $this->createMock(ICacheFactory::class), $this->createMock(IEventDispatcher::class));
+ $this->userManager = new Manager($config, $this->createMock(ICacheFactory::class), $this->createMock(IEventDispatcher::class), $this->createMock(LoggerInterface::class));
$userBackend = new Dummy();
$userBackend->createUser('u1', '');
$userBackend->createUser('u2', '');