diff options
Diffstat (limited to 'apps/files_external/tests')
-rw-r--r-- | apps/files_external/tests/ftp.php | 3 | ||||
-rw-r--r-- | apps/files_external/tests/google.php | 3 | ||||
-rw-r--r-- | apps/files_external/tests/swift.php | 5 | ||||
-rw-r--r-- | apps/files_external/tests/webdav.php | 1 |
4 files changed, 4 insertions, 8 deletions
diff --git a/apps/files_external/tests/ftp.php b/apps/files_external/tests/ftp.php index 97796bca128..3548880e834 100644 --- a/apps/files_external/tests/ftp.php +++ b/apps/files_external/tests/ftp.php @@ -5,7 +5,7 @@ * later. * See the COPYING-README file. */ - + $config=include('apps/files_external/tests/config.php'); if(!is_array($config) or !isset($config['ftp']) or !$config['ftp']['run']){ abstract class Test_Filestorage_FTP extends Test_FileStorage{} @@ -26,4 +26,3 @@ if(!is_array($config) or !isset($config['ftp']) or !$config['ftp']['run']){ } } } - diff --git a/apps/files_external/tests/google.php b/apps/files_external/tests/google.php index 806db5a6aaa..b0bd9cbbeaf 100644 --- a/apps/files_external/tests/google.php +++ b/apps/files_external/tests/google.php @@ -26,7 +26,7 @@ if(!is_array($config) or !isset($config['google']) or !$config['google']['run']) return; }else{ class Test_Filestorage_Google extends Test_FileStorage { - + private $config; public function setUp(){ @@ -41,4 +41,3 @@ if(!is_array($config) or !isset($config['google']) or !$config['google']['run']) } } } - diff --git a/apps/files_external/tests/swift.php b/apps/files_external/tests/swift.php index 1520c9473d3..bfe7b77aac5 100644 --- a/apps/files_external/tests/swift.php +++ b/apps/files_external/tests/swift.php @@ -21,11 +21,10 @@ if(!is_array($config) or !isset($config['swift']) or !$config['swift']['run']){ $this->instance=new OC_Filestorage_SWIFT($this->config['swift']); } - + public function tearDown(){ $this->instance->rmdir(''); } - + } } - diff --git a/apps/files_external/tests/webdav.php b/apps/files_external/tests/webdav.php index 14abbef2cbf..49c44124f3c 100644 --- a/apps/files_external/tests/webdav.php +++ b/apps/files_external/tests/webdav.php @@ -26,4 +26,3 @@ if(!is_array($config) or !isset($config['webdav']) or !$config['webdav']['run']) } } } - |