Skip to content

Commit

Permalink
Copying behat.yml and example.local.yml as part of setup:behat. (#1732)
Browse files Browse the repository at this point in the history
* Copying behat.yml and example.local.yml as part of setup:behat.

* Fixing file paths.
  • Loading branch information
grasmash authored Jun 27, 2017
1 parent c30ddcd commit a0f9080
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Robo/Commands/Setup/SettingsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@ public function behat() {
if (!file_exists($this->projectBehatLocalConfigFile)) {
$this->say("Generating Behat configuration files...");
$result = $this->taskFilesystemStack()
->copy($this->defaultBehatLocalConfigFile,
$this->projectBehatLocalConfigFile)
->copy($this->getConfigValue('blt.root') . '/template/tests/behat/behat.yml', $this->getConfigValue('repo.root') . '/test/behat/behat.yml')
->copy($this->getConfigValue('blt.root') . '/template/tests/behat/example.local.yml', $this->defaultBehatLocalConfigFile)
->copy($this->defaultBehatLocalConfigFile, $this->projectBehatLocalConfigFile)
->stopOnFail()
->setVerbosityThreshold(VerbosityThresholdInterface::VERBOSITY_VERBOSE)
->run();
Expand Down

0 comments on commit a0f9080

Please sign in to comment.