From 888d06dff99457218a095ccc4afd98630e321ac9 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 25 Sep 2024 17:52:42 +0200 Subject: fix: preserve fileid when moving from objectstore to non-objectstore Signed-off-by: Robin Appelman --- apps/files_trashbin/tests/StorageTest.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'apps') diff --git a/apps/files_trashbin/tests/StorageTest.php b/apps/files_trashbin/tests/StorageTest.php index 9de4bf0cc13..65e4d9a9bca 100644 --- a/apps/files_trashbin/tests/StorageTest.php +++ b/apps/files_trashbin/tests/StorageTest.php @@ -8,7 +8,6 @@ namespace OCA\Files_Trashbin\Tests; use OC\Files\Filesystem; use OC\Files\Storage\Common; -use OC\Files\Storage\Local; use OC\Files\Storage\Temporary; use OCA\Files_Trashbin\AppInfo\Application; use OCA\Files_Trashbin\Events\MoveToTrashEvent; @@ -673,9 +672,6 @@ class StorageTest extends \Test\TestCase { } public function testMoveFromStoragePreserveFileId(): void { - if (!$this->userView->getMount('')->getStorage()->instanceOfStorage(Local::class)) { - $this->markTestSkipped('Skipping on non-local users storage'); - } $this->userView->file_put_contents('test.txt', 'foo'); $fileId = $this->userView->getFileInfo('test.txt')->getId(); -- cgit v1.2.3