diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-12-03 14:35:53 +0100 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-12-04 13:22:25 +0100 |
commit | fd634fdec854554daef40bda283c43dd2ae00577 (patch) | |
tree | 96938c4429053184a8dda154f10703ef0079ae4e /tests/lib | |
parent | 4de8c4e5db0350034d9d53fb1dae76fc0b084373 (diff) | |
download | nextcloud-server-fd634fdec854554daef40bda283c43dd2ae00577.tar.gz nextcloud-server-fd634fdec854554daef40bda283c43dd2ae00577.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) { |