Skip to content

Commit 33a9c65

Browse files
committed
MAGETWO-99592: Discounts of products disappear on storefront after drag & drop via Visual Merchandiser in category
1 parent 368e212 commit 33a9c65

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

app/code/Magento/CatalogRule/Test/Unit/Model/Indexer/IndexBuilderTest.php

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,14 @@ protected function setUp()
223223
$this->reindexRuleGroupWebsite = $this->createMock(
224224
\Magento\CatalogRule\Model\Indexer\ReindexRuleGroupWebsite::class
225225
);
226-
$this->setProperties($this->indexBuilder, [
227-
'metadataPool' => $this->metadataPool,
228-
'reindexRuleProductPrice' => $this->reindexRuleProductPrice,
229-
'reindexRuleGroupWebsite' => $this->reindexRuleGroupWebsite
230-
]);
226+
$this->setProperties(
227+
$this->indexBuilder,
228+
[
229+
'metadataPool' => $this->metadataPool,
230+
'reindexRuleProductPrice' => $this->reindexRuleProductPrice,
231+
'reindexRuleGroupWebsite' => $this->reindexRuleGroupWebsite,
232+
]
233+
);
231234
}
232235

233236
/**

0 commit comments

Comments
 (0)