Fix ValidationCommandsTest for Drush 13 output routing

In Drush 13, io()->success() outputs to stderr instead of stdout. This caused 9 test failures in ValidationCommandsTest::testValidateCommand where success messages were expected on stdout but were actually routed to stderr.

Changes:

  • Updated assertOutputEquals() to assertErrorOutputEquals() for success message assertion
  • Changed stderr assertion to verify stdout is empty instead
  • Added comment documenting Drush 13 output routing behavior

Fixes test failures for all EXIT_SUCCESS test cases in the testValidateCommand data provider.

Merge request reports

Loading
Loading