Skip to content

Commit

Permalink
Merge pull request #10 from elvetemedve/bug/fix-breaking-change
Browse files Browse the repository at this point in the history
BugFix: Temporary file created instead of folder when creating working directory
  • Loading branch information
elvetemedve authored Apr 7, 2020
2 parents 7384f6d + 190e34d commit 48cd60c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TestRunnerContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ public function createWorkingDirectory()
{
if (empty($this->workingDirectory)) {
$this->workingDirectory = tempnam(sys_get_temp_dir(), 'behat-test-runner');
$this->filesystem->remove($this->workingDirectory);
}

$featuresDirectory = $this->workingDirectory . '/features/bootstrap';
Expand Down

0 comments on commit 48cd60c

Please sign in to comment.