aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2025-01-13 18:09:29 +0100
committerRobin Appelman <robin@icewind.nl>2025-01-13 18:09:29 +0100
commit7b2cb2e3bc862dc852b3d39a700e148fba9c1640 (patch)
tree8fab38beeecf68cab8c8d04b869e96e555611805 /tests
parentf20c483513780856f0e5aa0d853a9ef92de7646e (diff)
downloadnextcloud-server-7b2cb2e3bc862dc852b3d39a700e148fba9c1640.tar.gz
nextcloud-server-7b2cb2e3bc862dc852b3d39a700e148fba9c1640.zip
test: update test for mountpoint numeric storage idmountpoint-get-numeric-storage-id-cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Files/Config/UserMountCacheTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/Files/Config/UserMountCacheTest.php b/tests/lib/Files/Config/UserMountCacheTest.php
index 30c64bf20fa..1efc56c1908 100644
--- a/tests/lib/Files/Config/UserMountCacheTest.php
+++ b/tests/lib/Files/Config/UserMountCacheTest.php
@@ -101,6 +101,8 @@ class UserMountCacheTest extends TestCase {
$cache->expects($this->any())
->method('getId')
->willReturn($rootId);
+ $cache->method('getNumericStorageId')
+ ->willReturn($storageId);
$storage = $this->getMockBuilder('\OC\Files\Storage\Storage')
->disableOriginalConstructor()