aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2025-04-22 08:59:51 +0200
committerprovokateurin <kate@provokateurin.de>2025-04-22 13:09:54 +0200
commit7bd2de338868c4f1fc64aa3355993a185bc7ad84 (patch)
treecf193ba3f980ae121b319bb66020fb6f8653f574 /tests/lib/Files
parentfb3f1abec2fd48c18a3153469070784265898d4c (diff)
downloadnextcloud-server-perf/usermountcache/local-cache.tar.gz
nextcloud-server-perf/usermountcache/local-cache.zip
perf(UserMountCache): Use local cache for user mountsperf/usermountcache/local-cache
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'tests/lib/Files')
-rw-r--r--tests/lib/Files/Config/UserMountCacheTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/Files/Config/UserMountCacheTest.php b/tests/lib/Files/Config/UserMountCacheTest.php
index 212dd97f9a3..f67db01f16c 100644
--- a/tests/lib/Files/Config/UserMountCacheTest.php
+++ b/tests/lib/Files/Config/UserMountCacheTest.php
@@ -20,6 +20,7 @@ use OCP\ICacheFactory;
use OCP\IConfig;
use OCP\IDBConnection;
use OCP\IUserManager;
+use OCP\Server;
use Psr\Log\LoggerInterface;
use Test\TestCase;
use Test\Util\User\Dummy;
@@ -67,7 +68,7 @@ class UserMountCacheTest extends TestCase {
$userBackend->createUser('u2', '');
$userBackend->createUser('u3', '');
$this->userManager->registerBackend($userBackend);
- $this->cache = new \OC\Files\Config\UserMountCache($this->connection, $this->userManager, $this->createMock(LoggerInterface::class), $this->createMock(IEventLogger::class));
+ $this->cache = new \OC\Files\Config\UserMountCache($this->connection, $this->userManager, $this->createMock(LoggerInterface::class), $this->createMock(IEventLogger::class), Server::get(ICacheFactory::class));
}
protected function tearDown(): void {