-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Remove redundant methods #29147
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
base: 2.4-develop
Are you sure you want to change the base?
Remove redundant methods #29147
Conversation
@magento run all tests |
@magento run all tests |
@@ -27,32 +32,25 @@ class Index extends \Magento\Backend\App\Action | |||
|
|||
/** | |||
* Details constructor. |
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.
You can also remove this line.
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.
Done
@@ -12,7 +12,7 @@ | |||
* @author Magento Core Team <core@magentocommerce.com> | |||
* @since 100.0.2 | |||
*/ | |||
class Newsletter extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate | |||
class Newsletter extends AbstractCreate | |||
{ | |||
/** | |||
* Constructor |
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.
By the way you can remove this line
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.
Done
Hi @lbajsarowicz, thank you for the review.
|
@magento run all tests |
@lbajsarowicz Could you put an appropriate label for test coverage? |
@engcom-Alfa Done. |
Manual testing is not required here, as this PR is doing cleanup activity. Currently the build is failing hence moving it to Extended Testing. |
@magento run all tests |
@magento run Functional B2B, Functional CE, WebAPI Tests |
@magento run all tests |
@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE, Integration Tests, WebAPI Tests |
We are getting conflicts into this PR. To look into it moving it to Extended Testing. |
@magento run all tests |
@magento run Functional Tests B2B |
The approval JIRA for SVC failure has been approved as mentioned in above comment. One of the Functional B2B failure is not consistent in recent 2 builds, its neither related to PR nor failing because of PR changes. It seems to be flaky. The remaining 2 are consistent failures and known issues. Hence moving the PR to Merge in Progress. Known Issues: |
Moving this PR to Extended Testing to remove the conflicts. |
@magento run all tests |
This PR removes redundant methods
_isAllowed()
inapp/code/Magento/AsynchronousOperations/Controller/Adminhtml/Index/Index.php
_toHtml()
inapp/code/Magento/Sales/Block/Adminhtml/Order/Create/Newsletter.php
These methods just call parents methods
Resolved issues: