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 /tests/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 'tests/lib')
-rw-r--r-- | tests/lib/files/storage/storage.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/lib/files/storage/storage.php b/tests/lib/files/storage/storage.php index 5a0581665a2..182c014d999 100644 --- a/tests/lib/files/storage/storage.php +++ b/tests/lib/files/storage/storage.php @@ -43,6 +43,13 @@ abstract class Storage extends \PHPUnit_Framework_TestCase { } /** + * Check that the test() function works + */ + public function testTestFunction() { + $this->assertTrue($this->instance->test()); + } + + /** * @dataProvider directoryProvider */ public function testDirectories($directory) { |