2016-08-08 09:13:44 -04:00
|
|
|
<?php
|
2025-06-30 09:04:05 -04:00
|
|
|
|
2016-08-08 09:13:44 -04:00
|
|
|
/**
|
2024-05-10 09:09:14 -04:00
|
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2016-08-08 09:13:44 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
namespace Test\Files\ObjectStore;
|
|
|
|
|
|
|
|
|
|
use OC\Files\ObjectStore\StorageObjectStore;
|
|
|
|
|
use OC\Files\Storage\Temporary;
|
2025-06-30 10:56:59 -04:00
|
|
|
use OCP\Files\ObjectStore\IObjectStore;
|
2016-08-08 09:13:44 -04:00
|
|
|
|
2025-05-12 10:17:59 -04:00
|
|
|
class LocalTest extends ObjectStoreTestCase {
|
2016-08-08 09:13:44 -04:00
|
|
|
/**
|
2025-06-30 10:56:59 -04:00
|
|
|
* @return IObjectStore
|
2016-08-08 09:13:44 -04:00
|
|
|
*/
|
|
|
|
|
protected function getInstance() {
|
|
|
|
|
$storage = new Temporary();
|
|
|
|
|
return new StorageObjectStore($storage);
|
|
|
|
|
}
|
|
|
|
|
}
|