We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 966db54 commit 0317e00Copy full SHA for 0317e00
1 file changed
apps/files_trashbin/tests/StorageTest.php
@@ -11,6 +11,7 @@
11
12
use OC\Files\Cache\Updater;
13
use OC\Files\Filesystem;
14
+use OC\Files\ObjectStore\ObjectStoreStorage;
15
use OC\Files\Storage\Common;
16
use OC\Files\Storage\Local;
17
use OC\Files\Storage\Temporary;
@@ -126,6 +127,9 @@ public function testTrashEntryCreatedWhenSourceNotInCache(): void {
126
127
$this->userView->file_put_contents('uncached.txt', 'foo');
128
129
[$storage, $internalPath] = $this->userView->resolvePath('uncached.txt');
130
+ if ($storage->instanceOfStorage(ObjectStoreStorage::class)) {
131
+ $this->markTestSkipped('object store always has the file in cache');
132
+ }
133
$cache = $storage->getCache();
134
$cache->remove($internalPath);
135
$this->assertFalse($cache->inCache($internalPath));
0 commit comments