1
0

LocalTest.php 462 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace Test\Files\ObjectStore;
  7. use OC\Files\ObjectStore\StorageObjectStore;
  8. use OC\Files\Storage\Temporary;
  9. class LocalTest extends ObjectStoreTest {
  10. /**
  11. * @return \OCP\Files\ObjectStore\IObjectStore
  12. */
  13. protected function getInstance() {
  14. $storage = new Temporary();
  15. return new StorageObjectStore($storage);
  16. }
  17. }