Skip to content

Commit 88a4495

Browse files
committed
MAGETWO-88670: Catalog EAV table getting called instead of flat table on top menu when flat is enabled
1 parent 16853d9 commit 88a4495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Test/Unit/Plugin/Block/TopmenuTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ protected function setUp()
8787
\Magento\Catalog\Model\ResourceModel\Category\Collection::class
8888
);
8989
$this->categoryCollectionFactoryMock = $this->createPartialMock(
90-
\Magento\Catalog\Model\ResourceModel\Category\CollectionFactory::class,
90+
\Magento\Catalog\Model\ResourceModel\Category\StateDependentCollectionFactory::class,
9191
['create']
9292
);
9393

0 commit comments

Comments
 (0)