diff options
author | provokateurin <kate@provokateurin.de> | 2025-04-22 08:59:51 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2025-04-22 13:09:54 +0200 |
commit | 7bd2de338868c4f1fc64aa3355993a185bc7ad84 (patch) | |
tree | cf193ba3f980ae121b319bb66020fb6f8653f574 /tests/lib/Files | |
parent | fb3f1abec2fd48c18a3153469070784265898d4c (diff) | |
download | nextcloud-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.php | 3 |
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 { |