summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/ftp.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/ftp.php')
-rw-r--r--apps/files_external/tests/ftp.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/files_external/tests/ftp.php b/apps/files_external/tests/ftp.php
index 105f7b485bd..8a0821e25a5 100644
--- a/apps/files_external/tests/ftp.php
+++ b/apps/files_external/tests/ftp.php
@@ -6,12 +6,14 @@
* See the COPYING-README file.
*/
+namespace Test\Files\Storage;
+
$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{}
+ abstract class FTP extends Storage{}
return;
}else{
- class Test_Filestorage_FTP extends Test_FileStorage {
+ class FTP extends Storage {
private $config;
public function setUp() {
@@ -22,7 +24,7 @@ if(!is_array($config) or !isset($config['ftp']) or !$config['ftp']['run']) {
}
public function tearDown() {
- OCP\Files::rmdirr($this->instance->constructUrl(''));
+ \OCP\Files::rmdirr($this->instance->constructUrl(''));
}
}
}