diff --git a/tests/stubs/oc_files_objectstore_objectstorestorage.php b/tests/stubs/oc_files_objectstore_objectstorestorage.php index d5e6b20e5..5dc76614d 100644 --- a/tests/stubs/oc_files_objectstore_objectstorestorage.php +++ b/tests/stubs/oc_files_objectstore_objectstorestorage.php @@ -183,4 +183,13 @@ public function setPreserveCacheOnDelete(bool $preserve) public function free_space(string $path): int|float|false { } + + public function getDirectDownloadById(string $fileId): array|false + { + } + + public function getDirectDownload(string $path): array|false + { + } + } diff --git a/tests/stubs/oc_files_storage_common.php b/tests/stubs/oc_files_storage_common.php index dcf00bffa..a03ad0e10 100644 --- a/tests/stubs/oc_files_storage_common.php +++ b/tests/stubs/oc_files_storage_common.php @@ -232,6 +232,10 @@ public function instanceOfStorage(string $class): bool */ public function getDirectDownload(string $path): array|false { + } + + public function getDirectDownloadById(string $fileId): array|false + { } public function verifyPath(string $path, string $fileName): void diff --git a/tests/stubs/oc_files_storage_wrapper_wrapper.php b/tests/stubs/oc_files_storage_wrapper_wrapper.php index 225156692..4aea048bc 100644 --- a/tests/stubs/oc_files_storage_wrapper_wrapper.php +++ b/tests/stubs/oc_files_storage_wrapper_wrapper.php @@ -225,6 +225,10 @@ public function __call(string $method, array $args) public function getDirectDownload(string $path): array|false { + } + + public function getDirectDownloadById(string $fileId): array|false + { } public function getAvailability(): array