You are here

protected function TestFileTransfer::removeDirectoryJailed in SimpleTest 7

Removes a directory.

Parameters

$directory: The directory to be removed.

Overrides FileTransfer::removeDirectoryJailed

File

tests/filetransfer.test, line 124

Class

TestFileTransfer
Mock FileTransfer object for test case.

Code

protected function removeDirectoryJailed($directory) {
  $this->connection
    ->run("rmdir {$directory}");
}