mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
test: skip testTrashEntryCreatedWhenSourceNotInCache on object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
9c3416e89b
commit
185f427bbd
1 changed files with 4 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ namespace OCA\Files_Trashbin\Tests;
|
|||
|
||||
use OC\Files\Cache\Updater;
|
||||
use OC\Files\Filesystem;
|
||||
use OC\Files\ObjectStore\ObjectStoreStorage;
|
||||
use OC\Files\Storage\Common;
|
||||
use OC\Files\Storage\Local;
|
||||
use OC\Files\Storage\Temporary;
|
||||
|
|
@ -133,6 +134,9 @@ class StorageTest extends \Test\TestCase {
|
|||
$this->userView->file_put_contents('uncached.txt', 'foo');
|
||||
|
||||
[$storage, $internalPath] = $this->userView->resolvePath('uncached.txt');
|
||||
if ($storage->instanceOfStorage(ObjectStoreStorage::class)) {
|
||||
$this->markTestSkipped('object store always has the file in cache');
|
||||
}
|
||||
$cache = $storage->getCache();
|
||||
$cache->remove($internalPath);
|
||||
$this->assertFalse($cache->inCache($internalPath));
|
||||
|
|
|
|||
Loading…
Reference in a new issue