-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
PhpUnit 8 Migration - Framework & AdminAnalytics #27519
PhpUnit 8 Migration - Framework & AdminAnalytics #27519
Conversation
Fix fatal error because signature has changed
Add to obsolete classes PhpUnit 6.x only classes
Hi @ihor-sviziev. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
Fix static tests
@magento run Static Tests |
Static error from logs:
|
@lenaorobei will check it, thx |
@lbajsarowicz static test failure fixed, please review again |
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.
Great job, thank you!
Hi @lbajsarowicz, thank you for the review.
|
Hi @ihor-sviziev, thank you for your contribution! |
Description (*)
This PR doing following:
PHPUnit_Framework_MockObject_MockObject
andPHPUnit\Framework\BaseTestListener
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist app/code/Magento/AdminAnalytics/
vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist app/code/Magento/AdminAnalytics/
Questions or comments
Contribution checklist (*)