summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-04-26 17:40:31 +0200
committerRobin Appelman <icewind@owncloud.com>2013-04-26 17:40:31 +0200
commitc05195a46d60741ef8ee1db4afaee85ef7d1f70c (patch)
tree655a51d015ac4ba7e915daca7d0550a5942ed0ad /apps/files_external/tests
parent8a838e0e03501fd0230ae1e843f53213331d2c55 (diff)
downloadnextcloud-server-c05195a46d60741ef8ee1db4afaee85ef7d1f70c.tar.gz
nextcloud-server-c05195a46d60741ef8ee1db4afaee85ef7d1f70c.zip
Dont task external storages with creating their own root
Diffstat (limited to 'apps/files_external/tests')
-rw-r--r--apps/files_external/tests/ftp.php1
-rw-r--r--apps/files_external/tests/sftp.php3
-rw-r--r--apps/files_external/tests/smb.php1
-rw-r--r--apps/files_external/tests/webdav.php1
4 files changed, 5 insertions, 1 deletions
diff --git a/apps/files_external/tests/ftp.php b/apps/files_external/tests/ftp.php
index 923b5e39681..e146725473a 100644
--- a/apps/files_external/tests/ftp.php
+++ b/apps/files_external/tests/ftp.php
@@ -19,6 +19,7 @@ class FTP extends Storage {
}
$this->config['ftp']['root'] .= '/' . $id; //make sure we have an new empty folder to work in
$this->instance = new \OC\Files\Storage\FTP($this->config['ftp']);
+ $this->instance->mkdir('/');
}
public function tearDown() {
diff --git a/apps/files_external/tests/sftp.php b/apps/files_external/tests/sftp.php
index 16964e20878..efea7f075ff 100644
--- a/apps/files_external/tests/sftp.php
+++ b/apps/files_external/tests/sftp.php
@@ -33,6 +33,7 @@ class SFTP extends Storage {
}
$this->config['sftp']['root'] .= '/' . $id; //make sure we have an new empty folder to work in
$this->instance = new \OC\Files\Storage\SFTP($this->config['sftp']);
+ $this->instance->mkdir('/');
}
public function tearDown() {
@@ -40,4 +41,4 @@ class SFTP extends Storage {
$this->instance->rmdir('/');
}
}
-} \ No newline at end of file
+}
diff --git a/apps/files_external/tests/smb.php b/apps/files_external/tests/smb.php
index be3ea5a8308..ca2a93c8944 100644
--- a/apps/files_external/tests/smb.php
+++ b/apps/files_external/tests/smb.php
@@ -20,6 +20,7 @@ class SMB extends Storage {
}
$this->config['smb']['root'] .= $id; //make sure we have an new empty folder to work in
$this->instance = new \OC\Files\Storage\SMB($this->config['smb']);
+ $this->instance->mkdir('/');
}
public function tearDown() {
diff --git a/apps/files_external/tests/webdav.php b/apps/files_external/tests/webdav.php
index 1702898045e..1f9b767eca6 100644
--- a/apps/files_external/tests/webdav.php
+++ b/apps/files_external/tests/webdav.php
@@ -20,6 +20,7 @@ class DAV extends Storage {
}
$this->config['webdav']['root'] .= '/' . $id; //make sure we have an new empty folder to work in
$this->instance = new \OC\Files\Storage\DAV($this->config['webdav']);
+ $this->instance->mkdir('/');
}
public function tearDown() {