From 7b2cb2e3bc862dc852b3d39a700e148fba9c1640 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 13 Jan 2025 18:09:29 +0100 Subject: [PATCH] test: update test for mountpoint numeric storage id Signed-off-by: Robin Appelman --- tests/lib/Files/Config/UserMountCacheTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/lib/Files/Config/UserMountCacheTest.php b/tests/lib/Files/Config/UserMountCacheTest.php index 30c64bf20fad6..1efc56c19087d 100644 --- a/tests/lib/Files/Config/UserMountCacheTest.php +++ b/tests/lib/Files/Config/UserMountCacheTest.php @@ -101,6 +101,8 @@ private function getStorage($storageId, $rootInternalPath = '') { $cache->expects($this->any()) ->method('getId') ->willReturn($rootId); + $cache->method('getNumericStorageId') + ->willReturn($storageId); $storage = $this->getMockBuilder('\OC\Files\Storage\Storage') ->disableOriginalConstructor()