diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-02-10 22:34:58 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-02-10 22:34:58 +0100 |
commit | 60cadf5647f44437cb5faa76a2888a70f00dbeb4 (patch) | |
tree | ba3d1be24fde67648e393ec2a0b93024c8f70fb7 /apps/files_external/tests/backends | |
parent | 11283c57d9bba055e881293d6958ac9d6033f928 (diff) | |
download | nextcloud-server-60cadf5647f44437cb5faa76a2888a70f00dbeb4.tar.gz nextcloud-server-60cadf5647f44437cb5faa76a2888a70f00dbeb4.zip |
[files_external] ftp tests
Diffstat (limited to 'apps/files_external/tests/backends')
-rw-r--r-- | apps/files_external/tests/backends/ftp.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/tests/backends/ftp.php b/apps/files_external/tests/backends/ftp.php index 842b7f43fa8..d62759889b1 100644 --- a/apps/files_external/tests/backends/ftp.php +++ b/apps/files_external/tests/backends/ftp.php @@ -15,12 +15,12 @@ class FTP extends Storage { parent::setUp(); $id = $this->getUniqueID(); - $this->config = include('files_external/tests/config.php'); - if ( ! is_array($this->config) or ! isset($this->config['ftp']) or ! $this->config['ftp']['run']) { + $this->config = include('files_external/tests/config.ftp.php'); + if ( ! is_array($this->config) or ! $this->config['run']) { $this->markTestSkipped('FTP backend not configured'); } - $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->config['root'] .= '/' . $id; //make sure we have an new empty folder to work in + $this->instance = new \OC\Files\Storage\FTP($this->config); $this->instance->mkdir('/'); } |