-
Notifications
You must be signed in to change notification settings - Fork 132
33293: Eliminated AspectMock usage from PersistedObjectHandlerTest.php #853
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
Conversation
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.
Hello @anzin
Thank you for your contributing.
@magento import pull request to https://github.com/magento-commerce/magento2-functional-testing-framework |
@jilu1 the pull request successfully imported. |
|
||
return self::$INSTANCE; | ||
} | ||
|
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.
@anzin CurlHandler is widely used in MFTF and called repeatedly in test runs. Changing it to singleton may not work. Let me know if you think otherwise.
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.
Hello @jilu1, I added new changes by deleting singleton, please check if this solution is better.
Thank you.
Closed by accident. reopen it :) |
77e13bb
to
0c94ebb
Compare
eb6edc6
to
940373c
Compare
940373c
to
842f9f5
Compare
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.
@magento import pull request to https://github.com/magento-commerce/magento2-functional-testing-framework |
@jilu1, an error occurred during the Pull Request import. |
@anzin Is this PR ready for review? |
Hello, @jilu1 Yes, you can review this PR. @bohdan-harniuk has found one mistake and asked me to fix that. Now everything should be fine. |
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.
Hi, @jilu1!
You can review this PR.
Thanks, Bohdan
@magento import pull request to https://github.com/magento-commerce/magento2-functional-testing-framework |
@jilu1, an error occurred during the Pull Request import. |
@magento import pull request to https://github.com/magento-commerce/magento2-functional-testing-framework |
@jilu1 the pull request successfully imported. |
@anzin Nice solution! |
Hello, @jilu1! Your link leads to the same PR and with outdated changes (I cannot see what you wanted to show). Thanks, Bohdan |
@bohdan-harniuk |
Oh, I can see now!! Thank you, @jilu1! We will fix that! |
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.
Description
I've eliminated AspectMock usage from
dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/PersistedObjectHandlerTest.php
Fixed Issues (if relevant)
Contribution checklist