function TestFileTransfer::createDirectoryJailed in SimpleTest 7
Creates a directory.
Parameters
$directory: The directory to be created.
Overrides FileTransfer::createDirectoryJailed
File
- tests/
filetransfer.test, line 128
Class
- TestFileTransfer
- Mock FileTransfer object for test case.
Code
function createDirectoryJailed($directory) {
$this->connection
->run("mkdir {$directory}");
}