mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 09:08:22 -04:00
test: skip testTrashEntryCreatedWhenSourceNotInCache on object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
217bb2ad1d
commit
e61736451d
1 changed files with 4 additions and 0 deletions
|
|
@ -11,6 +11,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;
|
||||
|
|
@ -126,6 +127,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