Skip to content

Commit 96c24f9

Browse files
committed
MAGETWO-77850: [2.3] - Special/lowest price in child of a Configurable Product causes the entire product to show that price
1 parent a5951c2 commit 96c24f9

File tree

2 files changed

+4
-4
lines changed
  • dev/tests/functional/tests/app/Magento

2 files changed

+4
-4
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Product/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public function getThresholdMessage()
249249
*/
250250
public function getPriceBlock(FixtureInterface $product = null)
251251
{
252-
$typeId = null;
252+
$typeId = '';
253253

254254
if ($product) {
255255
$dataConfig = $product->getDataConfig();

dev/tests/functional/tests/app/Magento/ConfigurableProduct/Test/Block/Product/Price.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ class Price extends \Magento\Catalog\Test\Block\Product\Price
2828
*/
2929
protected $mapTypePrices = [
3030
'special_price' => [
31-
'selector' => '.normal-price .price'
32-
]
31+
'selector' => '.normal-price .price',
32+
],
3333
];
3434

3535
/**
36-
* This method returns the price represented by the block.
36+
* This method returns the price label represented by the block.
3737
*
3838
* @return SimpleElement
3939
*/

0 commit comments

Comments
 (0)