Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Usecase:
Trying to assert that a drush output should not contain a string, when it does not output anything, the test should pass. In the current state of drush command steps implementation, it's like no drush command was launched.
To fix this I set $this->drushOutput to TRUE when drush output is blank. Here is the patch.
Comment | File | Size | Author |
---|---|---|---|
problem-asserting-blank-drush-output.patch | 1.02 KB | b2f |
Comments
Comment #2
jhedstromThanks!