Skip to content

Commit e10c08d

Browse files
author
Mastiuhin Olexandr
committed
MAGETWO-96364: Discrepancy for sorting by a price of configurable products when Display Out of Stock Products enabled
1 parent 72f2b8a commit e10c08d

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/ResourceModel/Product/Indexer/Price

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/ResourceModel/Product/Indexer/Price/ConfigurableTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function testGetProductFinalPriceIfOneOfChildIsDisabledPerStore(): void
9696
$configurableProduct = $this->getConfigurableProductFromCollection();
9797
$this->assertEquals(10, $configurableProduct->getMinimalPrice());
9898

99-
$childProduct = $this->productRepository->getById(10, false, null, true);
99+
$childProduct = $this->productRepository->get('simple_10', false, null, true);
100100
$childProduct->setStatus(Status::STATUS_DISABLED);
101101

102102
// update in default store scope

0 commit comments

Comments
 (0)