We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 199456a commit c0ec134Copy full SHA for c0ec134
dev/tests/functional/tests/app/Magento/Wishlist/Test/Block/Customer/Wishlist/Items/Product.php
@@ -167,12 +167,13 @@ public function hoverProductBlock()
167
/**
168
* Returns product price
169
*
170
+ * @param string $currency
171
* @return string
172
*/
- public function getPrice()
173
+ public function getPrice($currency = '$')
174
{
175
$price = $this->_rootElement->find($this->price)->getText();
- return str_replace('$', '', $price);
176
+ return str_replace($currency, '', $price);
177
}
178
179
0 commit comments