diff --git a/features/bootstrap/FilesystemContext.php b/features/bootstrap/FilesystemContext.php index 5cff246..cb25a7d 100644 --- a/features/bootstrap/FilesystemContext.php +++ b/features/bootstrap/FilesystemContext.php @@ -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); }