Skip to content

Commit 83f597a

Browse files
author
Yu Tang
committed
MAGETWO-36325: Catalog Prices on Frontend do not include the cost of required Custom Option
- Fix static test failure
1 parent 94784e6 commit 83f597a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Bundle/Test/Unit/Pricing/Price/FinalPriceTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66

77
namespace Magento\Bundle\Test\Unit\Pricing\Price;
8+
89
use Magento\Bundle\Pricing\Price\BundleOptionPrice;
910
use Magento\Catalog\Pricing\Price\CustomOptionPrice;
1011
use Magento\Bundle\Model\Product\Price;

app/code/Magento/Catalog/Pricing/Price/CustomOptionPrice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function getValue()
3939
foreach ($options as $optionItem) {
4040
$min = null;
4141
if (!$optionItem->getIsRequire()) {
42-
$min = 0.;;
42+
$min = 0.;
4343
}
4444
$max = 0.;
4545
/** @var $optionValue \Magento\Catalog\Model\Product\Option\Value */

0 commit comments

Comments
 (0)