Closed tuutti closed 1 year ago
That might just be an issue with running it within PHPStorm.
Regardless, it’s a known issue and I should have caught it in code review. Thanks for the fix.
Your fix made it into this new release. Thank again!
https://github.com/donatj/mock-webserver/releases/tag/v2.6.1
Thanks for fast fix!
At long last we added Windows support, which made for a huge release. I've got my ear to the ground for any unexpected issues!
The STDIN constant is defined by
cli
SAPI and it doesn't seem to be defined when running Drupal's functional tests:I didn't dig too deep to figure out why, but I think it has something to do how Drupal sets up the functional/browser test stack:
https://www.drupal.org/docs/automated-testing/phpunit-in-drupal/phpunit-browser-test-tutorial#s-how-drupals-browser-tests-work