diff options
author | Louis Chemineau <louis@chmn.me> | 2024-12-03 16:24:28 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2024-12-03 17:04:44 +0100 |
commit | 199b0bd4d9d32bab41c308515a23facd38c8331e (patch) | |
tree | 91e964b5722833c5f187cc6109d911b066e48e89 /tests/lib | |
parent | 5ee4c9effa991306d2bb536c3ce23d1fe3eaccc3 (diff) | |
download | nextcloud-server-199b0bd4d9d32bab41c308515a23facd38c8331e.tar.gz nextcloud-server-199b0bd4d9d32bab41c308515a23facd38c8331e.zip |
fix(files): Correctly copy the cache information on copy operations
Needed to copy the `encrypted` flag of encrypted files when those files are two level down in a moved folder.
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/Files/ViewTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/Files/ViewTest.php b/tests/lib/Files/ViewTest.php index 2a74558c70d..4c61278c674 100644 --- a/tests/lib/Files/ViewTest.php +++ b/tests/lib/Files/ViewTest.php @@ -2386,6 +2386,7 @@ class ViewTest extends \Test\TestCase { Filesystem::mount($storage2, [], $this->user . '/files/substorage'); $storage->mkdir('files'); $view->file_put_contents($sourcePath, 'meh'); + $storage2->getUpdater()->update(''); $storage->expects($this->never()) ->method($storageOperation); |