diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-11-25 14:21:34 -0800 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-11-25 14:21:34 -0800 |
commit | 5310a5924b18849c85b482819c350d72a6d0c67c (patch) | |
tree | f8868e0d9ef632cd8d103493d1a985852f0744f3 | |
parent | d7d7d9b8e3115f93f6059d22246190522805075c (diff) | |
parent | 944d4156bf94d31c19784231432ae628b9bda1fe (diff) | |
download | nextcloud-server-5310a5924b18849c85b482819c350d72a6d0c67c.tar.gz nextcloud-server-5310a5924b18849c85b482819c350d72a6d0c67c.zip |
Merge pull request #6044 from owncloud/extstorage-ftpunittestfix
Fixed FTP storage unit tests to use the correct class
-rw-r--r-- | apps/files_external/tests/ftp.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/tests/ftp.php b/apps/files_external/tests/ftp.php index e146725473a..94ed5630d91 100644 --- a/apps/files_external/tests/ftp.php +++ b/apps/files_external/tests/ftp.php @@ -34,19 +34,19 @@ class FTP extends Storage { 'password' => 'ftp', 'root' => '/', 'secure' => false ); - $instance = new OC_Filestorage_FTP($config); + $instance = new \OC\Files\Storage\FTP($config); $this->assertEquals('ftp://ftp:ftp@localhost/', $instance->constructUrl('')); $config['secure'] = true; - $instance = new OC_Filestorage_FTP($config); + $instance = new \OC\Files\Storage\FTP($config); $this->assertEquals('ftps://ftp:ftp@localhost/', $instance->constructUrl('')); $config['secure'] = 'false'; - $instance = new OC_Filestorage_FTP($config); + $instance = new \OC\Files\Storage\FTP($config); $this->assertEquals('ftp://ftp:ftp@localhost/', $instance->constructUrl('')); $config['secure'] = 'true'; - $instance = new OC_Filestorage_FTP($config); + $instance = new \OC\Files\Storage\FTP($config); $this->assertEquals('ftps://ftp:ftp@localhost/', $instance->constructUrl('')); } } |