diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-24 08:06:27 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-24 08:06:27 -0800 |
commit | 09a06e4f0a2d473e1dc3ea1d92fefc3cfa318d4d (patch) | |
tree | 9a7d8d6731882e7da95fdfc45e4d4f1a2724b50d /apps/files_external/tests/backends | |
parent | 52495dc99585a88137f628ddc2a2fc8d20583396 (diff) | |
parent | 10e91c6a481bc30f57a434c849e8f41c1b5e34ad (diff) | |
download | nextcloud-server-09a06e4f0a2d473e1dc3ea1d92fefc3cfa318d4d.tar.gz nextcloud-server-09a06e4f0a2d473e1dc3ea1d92fefc3cfa318d4d.zip |
Merge pull request #14068 from owncloud/autotest-external-sftp
[files_external] sftp tests
Diffstat (limited to 'apps/files_external/tests/backends')
-rw-r--r-- | apps/files_external/tests/backends/sftp.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/tests/backends/sftp.php b/apps/files_external/tests/backends/sftp.php index f0405a1e211..e52c80b11b8 100644 --- a/apps/files_external/tests/backends/sftp.php +++ b/apps/files_external/tests/backends/sftp.php @@ -29,12 +29,12 @@ class SFTP extends Storage { parent::setUp(); $id = $this->getUniqueID(); - $this->config = include('files_external/tests/config.php'); - if ( ! is_array($this->config) or ! isset($this->config['sftp']) or ! $this->config['sftp']['run']) { + $this->config = include('files_external/tests/config.sftp.php'); + if (!is_array($this->config) or !$this->config['run']) { $this->markTestSkipped('SFTP backend not configured'); } - $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->config['root'] .= '/' . $id; //make sure we have an new empty folder to work in + $this->instance = new \OC\Files\Storage\SFTP($this->config); $this->instance->mkdir('/'); } |