Skip to content
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

Merged
merged 7 commits into from
Sep 22, 2018
Merged

Functional tests compatible with PHPUnit 6. #3694

merged 7 commits into from
Sep 22, 2018

Conversation

weitzman
Copy link
Member

No description provided.

@@ -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
Copy link
Member Author

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)
Copy link
Member Author

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

@weitzman weitzman changed the title Be compatible with PHPUnit 6. Functional tests compatible with PHPUnit 6. Sep 22, 2018
@weitzman weitzman merged commit a12639e into master Sep 22, 2018
@weitzman weitzman deleted the upPhpunit branch September 22, 2018 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant