-
Notifications
You must be signed in to change notification settings - Fork 25
Made getAllOptions()
and toOptionArray()
compatible
#34
Conversation
toOptionArray()
and toOptionArray()
compatiblegetAllOptions()
and toOptionArray()
compatible
*/ | ||
public function toOptionArray($noEmpty = false) | ||
public function toOptionArray($noEmpty = false, $foregroundCountries = '') | ||
{ | ||
$options = parent::toOptionArray($noEmpty); |
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.
Please add $foregroundCountries
here in the call, it's supported by the parent.
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.
@buskamuza, done.
$item2, | ||
]); | ||
|
||
$this->itemPriceRenderer->method('toHtml') |
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.
@joni-jones @buskamuza It looks like missing check that method toHtml will be called at least once
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.
@ihor-sviziev, this expects
is redundant because if toHtml()
won't be called the test will fail. "Price assertions" check this case.
[Backport] Use correct error message for duplicate error key in product import
Fixed Issues
Changes for EE in the internal branch https://github.com/magento-mpi/magento2ee/tree/G%236
Contribution checklist