Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

Commit

Permalink
Make Behat tests up and running (#224)
Browse files Browse the repository at this point in the history
Forces humbug to use the phpunit downloaded using Composer.
  • Loading branch information
pamil authored and theofidry committed Apr 15, 2017
1 parent 4227267 commit 017b96d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions features/bootstrap/FilesystemContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public function prepWorkingDirectory()
$this->workingDirectory = tempnam(sys_get_temp_dir(), 'humbug-behat');
$this->filesystem->remove($this->workingDirectory);
$this->filesystem->mkdir($this->workingDirectory);
$this->filesystem->symlink(__DIR__ . '/../../composer.json', $this->workingDirectory . '/composer.json');
$this->filesystem->symlink(__DIR__ . '/../../vendor', $this->workingDirectory . '/vendor');
chdir($this->workingDirectory);
}

Expand Down

0 comments on commit 017b96d

Please sign in to comment.