test: update test for mountpoint numeric storage id

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2025-01-13 18:09:29 +01:00
parent f20c483513
commit 7b2cb2e3bc
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

@ -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()