Skip to content

Commit 8ef9e2d

Browse files
committed
MAGETWO-60103: [Backport] Configurable variation is displayed on category/product page when is out of stock - 2.1
1 parent eb2ca66 commit 8ef9e2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/ConfigurableProduct/Pricing/Price/LowestPriceOptionProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function testGetProductsIfOneOfChildIsDisabled()
7373
*/
7474
public function testGetProductsIfOneOfChildIsDisabledPerStore()
7575
{
76-
$configurableProduct = $this->productRepository->getById(1, false, null, true);
76+
$configurableProduct = $this->productRepository->get('configurable', false, null, true);
7777
$lowestPriceChildrenProducts = $this->lowestPriceOptionsProvider->getProducts($configurableProduct);
7878
$this->assertCount(1, $lowestPriceChildrenProducts);
7979
$lowestPriceChildrenProduct = reset($lowestPriceChildrenProducts);

0 commit comments

Comments
 (0)