-
Notifications
You must be signed in to change notification settings - Fork 133
Fix an issue with extended data array entity #727
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.
Fix looks good!
One comment about the DevDocsTest and please fix verification test
@@ -48,8 +48,8 @@ | |||
</actionGroup> | |||
|
|||
<assertEqualsCanonicalizing stepKey="assertMergedArray"> | |||
<actualResult type="array">{{MessageData.numbers}}</actualResult> | |||
<expectedResult type="array">["Something New", "0", "1", "2", "3"]</expectedResult> | |||
<actualResult type="array">{{ExtendedMessageData.numbers}}</actualResult> |
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.
Can we keep the original MessageData
assertion and add a new assertion for ExtendedMessageData
so that we don't lose test coverage of the previous fix?
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.
I don't think we lose it.
In 1 assertion we cover both.
Because MessageData gets merged and then on top of it we merge ExtendedMessageData.numbers
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.
This is not a big deal. I am ok with either way.
Build with this branch https://m2build-ur.devops.magento.com/job/All-User-Requested-Tests/33394/ |
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.
Looks good!
Description
Fixed Issues (if relevant)
Contribution checklist