-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functional tests compatible with PHPUnit 6. #3694
Conversation
@@ -35,6 +35,7 @@ jobs: | |||
- run: $HOME/drush/.circleci/setup.sh | |||
- run: composer remove --dev webflo/drupal-core-strict --no-update | |||
- run: composer require --dev drupal/core:8.7.x-dev --no-update | |||
- run: composer config platform.php 7.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This brings in PHPUnit 6 during build_highest
* @return \PHPUnit_Framework_TestResult | ||
* @throws \PHPUnit_Framework_Exception | ||
*/ | ||
public function run(\PHPUnit_Framework_TestResult $result = null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This chunk was an OO error on PHPUnit 5. Not sure how to make both 5 and 6 happy with same code. See https://circleci.com/gh/drush-ops/drush/3338
I'm sad to lose this code coverage collecting during $this->drush() calls but we are not using it anyway. If anyone can fix that error we will bring this code back
No description provided.