You are here

protected function TestFileTransfer::removeDirectoryJailed in Drupal 7

Removes a directory.

Parameters

$directory: The directory to be removed.

Overrides FileTransfer::removeDirectoryJailed

File

modules/simpletest/tests/filetransfer.test, line 124

Class

TestFileTransfer
Mock FileTransfer object for test case.

Code

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