summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/tests/VersioningTest.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-03-10 17:10:06 +0100
committerJulius Härtl <jus@bitgrid.net>2023-03-13 10:52:37 +0100
commit62e6a32899dcd079b1ff3623d7363241892011ca (patch)
treefc4ed3e204c2a8602ca991c91914c258b7410b40 /apps/files_versions/tests/VersioningTest.php
parentc22d51c1ad939e1bf2a2b78f8fb3329a5269c9e7 (diff)
downloadnextcloud-server-62e6a32899dcd079b1ff3623d7363241892011ca.tar.gz
nextcloud-server-62e6a32899dcd079b1ff3623d7363241892011ca.zip
don't re-get fileinfo for versioned file if it's not shared
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_versions/tests/VersioningTest.php')
-rw-r--r--apps/files_versions/tests/VersioningTest.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_versions/tests/VersioningTest.php b/apps/files_versions/tests/VersioningTest.php
index 547f1eca4a6..f454ba30b86 100644
--- a/apps/files_versions/tests/VersioningTest.php
+++ b/apps/files_versions/tests/VersioningTest.php
@@ -662,7 +662,6 @@ class VersioningTest extends \Test\TestCase {
public function testRestoreCrossStorage() {
$storage2 = new Temporary([]);
\OC\Files\Filesystem::mount($storage2, [], self::TEST_VERSIONS_USER . '/files/sub');
- \OC\Files\Filesystem::tearDown();
$this->doTestRestore();
}