Skip to content

Commit

Permalink
Clarifying doctor output for Behat config issues. (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash authored Oct 5, 2016
1 parent c015053 commit 5612574
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Drush/Command/BltDoctorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ protected function checkDrushAliases() {
protected function checkBehatConfig() {
if (!file_exists($this->repoRoot . '/tests/behat/local.yml')) {
$this->logError("tests/behat/local.yml is missing!");
$this->logErrorDetail("Run `blt setup:behat` to generate it from example.local.yml, or run `blt setup` to run the entire setup process.");
$this->logErrorDetail("Run `blt setup:behat` to generate it from example.local.yml.");
$this->logErrorDetail();

return FALSE;
Expand All @@ -674,6 +674,7 @@ protected function checkBehatConfig() {
if (!strstr($behat_drupal_root, '/var/www/')) {
$this->logError("You have DrupalVM initialized, but drupal_root in tests/behat/local.yml does not reference the DrupalVM docroot.");
$this->logErrorDetail("Behat drupal_root is $behat_drupal_root.");
$this->logErrorDetail("To resolve, remove tests/behat/local.yml, ssh into the VM, and run blt setup:behat.");
$this->logErrorDetail();
}
else {
Expand Down

0 comments on commit 5612574

Please sign in to comment.