1 filetransfer.test TestFileTransfer::connect()

Connects to the server.

Overrides FileTransfer::connect

File

core/modules/simpletest/tests/filetransfer.test, line 111

Class

TestFileTransfer

Code

function connect() {
  $connection = new MockTestConnection();
  $connection->connectionString = 'test://' . urlencode((string) $this->username) . ':' . urlencode((string) $this->password) . "@$this->host:$this->port/";
  $this->connection = $connection;
}