aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/ObjectStore/LocalTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Files/ObjectStore/LocalTest.php')
-rw-r--r--tests/lib/Files/ObjectStore/LocalTest.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/lib/Files/ObjectStore/LocalTest.php b/tests/lib/Files/ObjectStore/LocalTest.php
new file mode 100644
index 00000000000..d3e9ad56164
--- /dev/null
+++ b/tests/lib/Files/ObjectStore/LocalTest.php
@@ -0,0 +1,22 @@
+<?php
+
+/**
+ * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+namespace Test\Files\ObjectStore;
+
+use OC\Files\ObjectStore\StorageObjectStore;
+use OC\Files\Storage\Temporary;
+use OCP\Files\ObjectStore\IObjectStore;
+
+class LocalTest extends ObjectStoreTestCase {
+ /**
+ * @return IObjectStore
+ */
+ protected function getInstance() {
+ $storage = new Temporary();
+ return new StorageObjectStore($storage);
+ }
+}