Skip to content

Commit 979ed62

Browse files
author
Yuri Kovsher
committed
MAGETWO-17189: Recently Compared / Viewed widgets aren't displayed in side columns
1 parent 1ba23ce commit 979ed62

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dev/tests/unit/testsuite/Magento/Reports/Model/Event/ObserverTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ public function setUp()
8585
->willReturn($this->storeMock);
8686
$this->productCompFactoryMock = $this->getMockBuilder('Magento\Reports\Model\Product\Index\ComparedFactory')
8787
->disableOriginalConstructor()
88+
->setMethods(
89+
[
90+
'create'
91+
]
92+
)
8893
->getMock();
8994
$this->productCompModelMock = $this->getMockBuilder('Magento\Reports\Model\Product\Index\Compared')
9095
->disableOriginalConstructor()

0 commit comments

Comments
 (0)