summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-12-03 14:35:53 +0100
committerVincent Petry <pvince81@owncloud.com>2013-12-03 14:35:53 +0100
commit6cf9844e9c4790342053e00e4dfaf389275e4c79 (patch)
tree45fee88803b5c3feb93582be8b6f3c8547427ae9 /lib
parenta81d4175ba1d0625a0096c6383f1af4505eb1d4d (diff)
downloadnextcloud-server-6cf9844e9c4790342053e00e4dfaf389275e4c79.tar.gz
nextcloud-server-6cf9844e9c4790342053e00e4dfaf389275e4c79.zip
Added unit test for the test() method
This is to make sure that method isn't broken
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/storage/wrapper/wrapper.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/files/storage/wrapper/wrapper.php b/lib/private/files/storage/wrapper/wrapper.php
index 0336c27efa1..f9adda80314 100644
--- a/lib/private/files/storage/wrapper/wrapper.php
+++ b/lib/private/files/storage/wrapper/wrapper.php
@@ -424,4 +424,12 @@ class Wrapper implements \OC\Files\Storage\Storage {
public function getETag($path) {
return $this->storage->getETag($path);
}
+
+ /**
+ * Returns true
+ * @return true
+ */
+ public function test() {
+ return $this->storage->test();
+ }
}