diff options
author | Robin Appelman <robin@icewind.nl> | 2024-09-25 18:01:53 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2024-09-27 14:45:43 +0200 |
commit | f8a59b56b4791413b5ac36459e8b92ed6017b19b (patch) | |
tree | f0b8c4ca41c8677d286496d5f3b338e81127e2b4 /apps/files_sharing/tests | |
parent | 888d06dff99457218a095ccc4afd98630e321ac9 (diff) | |
download | nextcloud-server-f8a59b56b4791413b5ac36459e8b92ed6017b19b.tar.gz nextcloud-server-f8a59b56b4791413b5ac36459e8b92ed6017b19b.zip |
test: fix share storage move test with object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r-- | apps/files_sharing/tests/SharedStorageTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/SharedStorageTest.php b/apps/files_sharing/tests/SharedStorageTest.php index 49ff97c053a..430dd158bc3 100644 --- a/apps/files_sharing/tests/SharedStorageTest.php +++ b/apps/files_sharing/tests/SharedStorageTest.php @@ -451,6 +451,7 @@ class SharedStorageTest extends TestCase { $sourceStorage = new \OC\Files\Storage\Temporary([]); $sourceStorage->file_put_contents('foo.txt', 'asd'); + $sourceStorage->getScanner()->scan(''); $sharedStorage->moveFromStorage($sourceStorage, 'foo.txt', 'bar.txt'); $this->assertTrue($sharedStorage->file_exists('bar.txt')); |