MSI-1411: Add new rule to copy paste detector blacklist to avoid cove… - #16508
Conversation
… fixtures on MSI modules
|
Hi @VitaliyBoyko. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
|
@VitaliyBoyko could you give more insight why do we need copy-pasted fixtures? Also, any contribution must be delivered to |
|
Hi @orlangur MSI modules have own fixtures which are similar to core ones. Similar, but not exactly the same. Including code from core gonna bring more complexity than we suppress possible copypaste parts.
Thank you! |
|
Hi @orlangur @VitaliyBoyko |
|
Hi @ishakhsuvarov, thank you for the review. |
|
Hi @ishakhsuvarov |
At least some time ago the process was to put |
orlangur
left a comment
There was a problem hiding this comment.
According to discussion in Slack: fixtures are full of copy-paste but it is not possible to refactor them quickly.
|
Hi @orlangur, thank you for the review. |
It is important to have in |
|
@orlangur Currently the whole UPD: Not that I am against porting this solution. I am just not seeing a point in requiring this PR to be merged in 2.2 first. |
What I meant is that without porting 2.3 would be less strict.
It is a generic rule, isn't it? Anything applicable to 2.2 should be merged there first. |
|
Hi @VitaliyBoyko. Thank you for your contribution. |
…to avoid cove… magento#16508 - Merge Pull Request magento#16508 from VitaliyBoyko/magento2:MSI-1411-add-new-rule-to-copy-paste-detector-blacklist - Merged commits: 1. 7abdafd
Accepted Public Pull Requests: - magento#16484: Declare module namespace before template path name(Magento_Sales::order/history.phtml). (by @mage2pratik) - magento#16412: Admin tabs order not working properly (by @tiagosampaio) - magento#16466: [Forwardport] Move breadcrumb json configuration to viewmodel (by @gelanivishal) - magento#16391: [Forwardport] Fixes updating wishlist item if an item object is passed instead its id. (by @eduard13) - magento#15732: [Forwardport] Resolve Knockout non-unique elements id in console error (by @vijay-wagento) - magento#16508: MSI-1411: Add new rule to copy paste detector blacklist to avoid cove… (by @VitaliyBoyko) Fixed GitHub Issues: - magento#16174: Admin tabs order not working properly (reported by @tiagosampaio) has been fixed in magento#16412 by @tiagosampaio in 2.3-develop branch Related commits: 1. e04b7ca 2. 447667f 3. 0dd4268 4. 9301ccb 5. c2b5c7a 6. 024384a 7. d35b094 8. 63cc8e6 9. fe307c7 - magento#15348: Multiple Payment Methods Enabled is giving error in console "Found 3 Elements with non - unique Id" (reported by @neeta-wagento) has been fixed in magento#15732 by @vijay-wagento in 2.3-develop branch Related commits: 1. 5822e44 2. 4847b46
Description
In the MSI modules all fixtures for tests are in
<Module_Name>/Test/_datawhich is different from Magento current implementations.In order to avoid falling copy paste detector tests on the fixtures has been added a new rule to the blacklist.
Fixed Issues (if relevant)
Static test falling
PS. It's very important for MSI ;)