Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from elvetemedve/feature/expose-working-dir
Browse files Browse the repository at this point in the history
Allow to get working directory outside of test runner context
  • Loading branch information
Tibor Kotosz authored Dec 22, 2018
2 parents 87aac73 + c16d2f0 commit c3dfbb9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/TestRunnerContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,14 @@ public function createWorkingDirectory()
$this->documentRoot = $this->workingDirectory .'/document_root';
$this->filesystem->mkdir($this->documentRoot, 0770);
}

/**
* @return string
*/
public function getWorkingDirectory()
{
return $this->workingDirectory;
}

/**
* @return void
Expand Down

0 comments on commit c3dfbb9

Please sign in to comment.