| 1 | <?php |
||
| 8 | class SFTPTest extends WebTestCase |
||
| 9 | { |
||
| 10 | // test credentials took from here - http://www.sftp.net/public-online-sftp-servers |
||
| 11 | private $hostname = 'demo.wftpserver.com:2222'; |
||
| 12 | private $login = 'demo-user'; |
||
| 13 | private $password = 'demo-user'; |
||
| 14 | |||
| 15 | /** @var SFTP $sftpService */ |
||
| 16 | private $sftpService; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Test connect() |
||
| 20 | */ |
||
| 21 | public function testConnect() |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Test connect() |
||
| 28 | */ |
||
| 29 | public function testGetRemoteFilesList() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Set up fixtures for testing |
||
| 36 | */ |
||
| 37 | public function setUp() |
||
| 45 | } |
||
| 46 |