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