diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-12-03 14:35:53 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-12-03 14:35:53 +0100 |
commit | 6cf9844e9c4790342053e00e4dfaf389275e4c79 (patch) | |
tree | 45fee88803b5c3feb93582be8b6f3c8547427ae9 /lib | |
parent | a81d4175ba1d0625a0096c6383f1af4505eb1d4d (diff) | |
download | nextcloud-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.php | 8 |
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(); + } } |