nextcloud/tests/lib/Files/ObjectStore/LocalTest.php
Josh 74cb706f9b
chore: switch LocalTest to StorageBackedObjectStore
Signed-off-by: Josh <josh.t.richards@gmail.com>
2026-03-27 21:51:58 -04:00

23 lines
524 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Test\Files\ObjectStore;
use OC\Files\Storage\Temporary;
use OCP\Files\ObjectStore\IObjectStore;
use Tests\Files\ObjectStore\StorageBackedObjectStore;
class LocalTest extends ObjectStoreTestCase {
/**
* @return IObjectStore
*/
protected function getInstance() {
$storage = new Temporary();
return new StorageBackedObjectStore($storage);
}
}