diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-10-01 21:47:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 21:47:26 +0200 |
commit | ca958de7e9738ba40f5170f9c3d4980374566fa2 (patch) | |
tree | 67d2f0ecf7c65268c0256d89c28c5c4189e93463 /apps/dav | |
parent | 2b854c104433a8c38e2f8bd50d4af70526d06090 (diff) | |
parent | cb51564356e111c79224401b9067d755ac5f5c42 (diff) | |
download | nextcloud-server-ca958de7e9738ba40f5170f9c3d4980374566fa2.tar.gz nextcloud-server-ca958de7e9738ba40f5170f9c3d4980374566fa2.zip |
Merge pull request #33566 from nextcloud/fopen-not-found-rescan
trigger a rescan when trying to fopen a file that exists in cache but not on disk
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/tests/unit/Connector/Sabre/FileTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/FileTest.php b/apps/dav/tests/unit/Connector/Sabre/FileTest.php index 6a954378d02..91e49d331e9 100644 --- a/apps/dav/tests/unit/Connector/Sabre/FileTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/FileTest.php @@ -1151,7 +1151,7 @@ class FileTest extends TestCase { $info = new \OC\Files\FileInfo('/test.txt', $this->getMockStorage(), null, [ 'permissions' => \OCP\Constants::PERMISSION_ALL, - 'type' => FileInfo::TYPE_FOLDER, + 'type' => FileInfo::TYPE_FILE, ], null); $file = new \OCA\DAV\Connector\Sabre\File($view, $info); @@ -1172,7 +1172,7 @@ class FileTest extends TestCase { $info = new \OC\Files\FileInfo('/test.txt', $this->getMockStorage(), null, [ 'permissions' => \OCP\Constants::PERMISSION_ALL, - 'type' => FileInfo::TYPE_FOLDER, + 'type' => FileInfo::TYPE_FILE, ], null); $file = new \OCA\DAV\Connector\Sabre\File($view, $info); |