aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-09-25 17:52:42 +0200
committerRobin Appelman <robin@icewind.nl>2024-09-27 14:45:42 +0200
commit888d06dff99457218a095ccc4afd98630e321ac9 (patch)
treea6a1ea77901ef345f07cc9f04abe53302a71a890 /apps
parentda21acfb3ff5c6c7b8e1298cdefb5f17b10a6aab (diff)
downloadnextcloud-server-888d06dff99457218a095ccc4afd98630e321ac9.tar.gz
nextcloud-server-888d06dff99457218a095ccc4afd98630e321ac9.zip
fix: preserve fileid when moving from objectstore to non-objectstore
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_trashbin/tests/StorageTest.php4
1 files changed, 0 insertions, 4 deletions
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();