Skip to content

Commit 9245b7b

Browse files
author
Eric Bohanon
committed
MAGETWO-71656: Configurable with disabled children are still shown on category page
1 parent 23bad6e commit 9245b7b

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

app/code/Magento/ConfigurableProduct/Test/Unit/Plugin/Model/ResourceModel/ProductTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
use Magento\Catalog\Model\Product\Type;
1010
use Magento\ConfigurableProduct\Model\Product\Type\Configurable;
1111
use Magento\Framework\Indexer\ActionInterface;
12-
use Magento\Framework\Indexer\IndexerInterface;
13-
use Magento\PageCache\Model\Config;
14-
use Magento\Framework\App\Cache\TypeListInterface;
1512

1613
class ProductTest extends \PHPUnit\Framework\TestCase
1714
{
@@ -45,7 +42,7 @@ public function setUp()
4542
\Magento\ConfigurableProduct\Plugin\Model\ResourceModel\Product::class,
4643
[
4744
'configurable' => $this->configurableMock,
48-
'indexerAction' => $this->actionMock,
45+
'productIndexer' => $this->actionMock,
4946
]
5047
);
5148
}

dev/tests/functional/tests/app/Magento/ConfigurableProduct/Test/TestCase/VerifyConfigurableProductEntityPriceTest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
<constraint name="Magento\ConfigurableProduct\Test\Constraint\AssertConfigurableProductPage" />
3333
</variation>
3434
<variation name="VerifyConfigurableProductEntityPriceTestVariation3" summary="Disable all child products" ticketId="MAGETWO-60236">
35-
<data name="issue" xsi:type="string">MAGETWO-66699: Configurable product when all child products are disabled</data>
3635
<data name="product" xsi:type="string">configurableProduct::product_with_color</data>
3736
<data name="productUpdate/childProductUpdate" xsi:type="array">
3837
<item name="data" xsi:type="array">

0 commit comments

Comments
 (0)