Skip to content

Commit

Permalink
test: update test for mountpoint numeric storage id
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed Jan 13, 2025
1 parent f20c483 commit 7b2cb2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/lib/Files/Config/UserMountCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7b2cb2e

Please sign in to comment.