-
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
#27500 Prepare Catalog module Tests for PHPUnit 8 #27823
#27500 Prepare Catalog module Tests for PHPUnit 8 #27823
Conversation
Hi @lbajsarowicz. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
Unit tests failure is caused by:
|
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.
👍Thank you for contribution!
@@ -58,7 +56,7 @@ protected function setUp(): void | |||
/** | |||
* @return MockObject | |||
*/ | |||
protected function getVisibleImagesSelectMock(): MockObject | |||
protected function getVisibleImagesSelectMock(): \PHPUnit\Framework\MockObject\MockObject |
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.
Would be great to import this class, but that's too small thing compared to whole PR, so we can leave it
Hi @ihor-sviziev, thank you for the review. |
@slavvka |
@magento run all tests |
And
|
@magento run all tests |
Looks like
|
And I don't knwo why MediGallery tests are failing here |
@magento run all tests |
1 similar comment
@magento run all tests |
@lbajsarowicz No more Unit test fatals, only MediaGallery. And normal Static test failures |
@magento run all tests |
Failed unit tests aren't related to the changes |
Hi @lbajsarowicz, thank you for your contribution! |
Description (*)
Preparing PHPUnit Tests to run with PHPUnit 8.
PRs for each module is separated to make tests easier to merge.
Related Pull Requests
https://github.com/magento/partners-magento2ee/pull/233
Fixed Issues (if relevant)
Manual testing scenarios (*)
N/A
Questions or comments
PR #27701 needs to be merged first (otherwise PHPUnit tests fail)
Contribution checklist (*)