aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-08-16 12:34:18 +0200
committerRobin Appelman <robin@icewind.nl>2024-02-09 14:00:26 +0100
commite50c176428440e94a4eacb8d36e28b4f5564f170 (patch)
tree1743048a20333861de2f339d5caed5a81ab16dc0 /apps/files_external
parent7a91abb4396553836c4eaca369a6216c10e4a5d1 (diff)
downloadnextcloud-server-e50c176428440e94a4eacb8d36e28b4f5564f170.tar.gz
nextcloud-server-e50c176428440e94a4eacb8d36e28b4f5564f170.zip
also improe cache ci for shared cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/tests/Service/StoragesServiceTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_external/tests/Service/StoragesServiceTest.php b/apps/files_external/tests/Service/StoragesServiceTest.php
index 4eaf70a8e84..8c38954dee6 100644
--- a/apps/files_external/tests/Service/StoragesServiceTest.php
+++ b/apps/files_external/tests/Service/StoragesServiceTest.php
@@ -44,6 +44,7 @@ use OCP\Files\Cache\ICache;
use OCP\Files\Config\IUserMountCache;
use OCP\Files\Mount\IMountPoint;
use OCP\Files\Storage\IStorage;
+use OCP\IDBConnection;
use OCP\IUser;
class CleaningDBConfig extends DBConfigService {
@@ -315,7 +316,7 @@ abstract class StoragesServiceTest extends \Test\TestCase {
// manually trigger storage entry because normally it happens on first
// access, which isn't possible within this test
- $storageCache = new \OC\Files\Cache\Storage($rustyStorageId);
+ $storageCache = new \OC\Files\Cache\Storage($rustyStorageId, true, \OC::$server->get(IDBConnection::class));
/** @var IUserMountCache $mountCache */
$mountCache = \OC::$server->get(IUserMountCache::class);