From 561257493c18d7d49a2573f1507ad43795edd300 Mon Sep 17 00:00:00 2001 From: Matthew Grasmick Date: Wed, 5 Oct 2016 19:26:55 -0400 Subject: [PATCH] Clarifying doctor output for Behat config issues. (#494) --- src/Drush/Command/BltDoctorCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Drush/Command/BltDoctorCommand.php b/src/Drush/Command/BltDoctorCommand.php index ad076f0c1..c779fc556 100644 --- a/src/Drush/Command/BltDoctorCommand.php +++ b/src/Drush/Command/BltDoctorCommand.php @@ -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; @@ -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 {