diff options
author | Robin Appelman <robin@icewind.nl> | 2023-02-10 11:11:13 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2023-02-10 11:11:13 +0100 |
commit | 91d5f6a82672b123890663fb70fad629bdbc3f0f (patch) | |
tree | 392e5ad2a2236f5261020bd30424942a7acf5243 /tests | |
parent | 7aa78680bff05badc253f39823bfc7585bb4c190 (diff) | |
download | nextcloud-server-91d5f6a82672b123890663fb70fad629bdbc3f0f.tar.gz nextcloud-server-91d5f6a82672b123890663fb70fad629bdbc3f0f.zip |
more filesystem setup performance instrumentation
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests')
-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 f1206781c5e..a9a88cb85c9 100644 --- a/tests/lib/Files/Config/UserMountCacheTest.php +++ b/tests/lib/Files/Config/UserMountCacheTest.php @@ -13,6 +13,7 @@ use OC\Files\Mount\MountPoint; use OC\Files\Storage\Storage; use OCP\Cache\CappedMemoryCache; use OC\User\Manager; +use OCP\Diagnostics\IEventLogger; use OCP\EventDispatcher\IEventDispatcher; use OCP\Files\Config\ICachedMountInfo; use OCP\ICacheFactory; @@ -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->cache = new \OC\Files\Config\UserMountCache($this->connection, $this->userManager, $this->createMock(LoggerInterface::class), $this->createMock(IEventLogger::class)); } protected function tearDown(): void { |