Skip to content

Commit 6b86996

Browse files
author
Dmytro Voskoboinikov
committed
MAGETWO-71515: Special/lowest price in child of a Configurable Product causes the entire product to show that price
1 parent 27e0855 commit 6b86996

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/tests/integration/testsuite/Magento/ConfigurableProduct/Pricing/Render/FinalPriceBox/RenderingBasedOnIsProductListFlagTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function testRenderingByDefault()
8080
{
8181
$html = $this->finalPriceBox->toHtml();
8282
self::assertContains('5.99', $html);
83-
self::assertSelectCount('.special-price', true, $html);
83+
self::assertSelectCount('.normal-price', true, $html);
8484
self::assertSelectCount('.old-price', true, $html);
8585
}
8686

@@ -103,7 +103,7 @@ public function testRenderingAccordingToIsProductListFlag($flag, $count)
103103
$this->finalPriceBox->setData('is_product_list', $flag);
104104
$html = $this->finalPriceBox->toHtml();
105105
self::assertContains('5.99', $html);
106-
self::assertSelectCount('.special-price', $count, $html);
106+
self::assertSelectCount('.normal-price', true, $html);
107107
self::assertSelectCount('.old-price', $count, $html);
108108
}
109109

@@ -114,7 +114,7 @@ public function isProductListDataProvider()
114114
{
115115
return [
116116
'is_not_product_list' => [false, true],
117-
'is_product_list' => [true, 0],
117+
'is_product_list' => [true, false],
118118
];
119119
}
120120
}

0 commit comments

Comments
 (0)