Skip to content

Commit 0b68747

Browse files
committed
MC-18847: Special Price & Regular Price Display Issues on Configurable Product
1 parent 9f72fee commit 0b68747

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

app/code/Magento/ConfigurableProduct/Pricing/Render/FinalPriceBox.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ class FinalPriceBox extends \Magento\Catalog\Pricing\Render\FinalPriceBox
3030
* @param SaleableInterface $saleableItem
3131
* @param PriceInterface $price
3232
* @param RendererPool $rendererPool
33-
* @param ConfigurableOptionsProviderInterface $configurableOptionsProvider
34-
* @param array $data
3533
* @param SalableResolverInterface $salableResolver
3634
* @param MinimalPriceCalculatorInterface $minimalPriceCalculator
35+
* @param ConfigurableOptionsProviderInterface $configurableOptionsProvider
36+
* @param array $data
3737
*/
3838
public function __construct(
3939
Context $context,

app/code/Magento/ConfigurableProduct/Test/Unit/Pricing/Render/FinalPriceBoxTest.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,12 @@ public function testHasSpecialPrice(
110110
$priceInfoMock = $this->createMock(PriceInfoInterface::class);
111111
$priceInfoMock->expects($this->exactly(2))
112112
->method('getPrice')
113-
->willReturnMap([
114-
[RegularPrice::PRICE_CODE, $priceMockOne],
115-
[FinalPrice::PRICE_CODE, $priceMockTwo],
116-
]);
113+
->willReturnMap(
114+
[
115+
[RegularPrice::PRICE_CODE, $priceMockOne],
116+
[FinalPrice::PRICE_CODE, $priceMockTwo],
117+
]
118+
);
117119

118120
$productMock = $this->createMock(Product::class);
119121
$productMock->expects($this->exactly(2))

0 commit comments

Comments
 (0)