We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c72435 commit a438436Copy full SHA for a438436
dev/tests/unit/testsuite/Magento/Catalog/Block/NavigationTest.php
@@ -14,9 +14,16 @@ class NavigationTest extends \PHPUnit_Framework_TestCase
14
protected function setUp()
15
{
16
$objectManager = new \Magento\TestFramework\Helper\ObjectManager($this);
17
+ $categoryFactory = $this->getMock(
18
+ 'Magento\Catalog\Model\CategoryFactory',
19
+ ['create'],
20
+ [],
21
+ '',
22
+ false
23
+ );
24
$this->block = $objectManager->getObject(
25
'Magento\Catalog\Block\Navigation',
- []
26
+ ['categoryFactory' => $categoryFactory]
27
);
28
}
29
0 commit comments