Skip to content

Commit 33d4423

Browse files
author
Oleksandr Osadchyi
committed
Merge branch 'MAGETWO-58796' into BUGS
2 parents bdd1e53 + d9fe54a commit 33d4423

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

app/code/Magento/Theme/Block/Html/Topmenu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Topmenu extends Template implements IdentityInterface
3535
*
3636
* @var Registry
3737
*
38-
* @deprecated
38+
* @deprecated The property can be removed in a future major release.
3939
*/
4040
protected $registry;
4141

app/code/Magento/Theme/Test/Unit/Block/Html/TopmenuTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,10 @@ public function testGetCacheKeyInfo()
202202
}
203203

204204
/**
205+
* Create Tree Node mock object
206+
*
207+
* Helper method, that provides unified logic of creation of Tree Node mock objects.
208+
*
205209
* @param bool $isCurrentItem
206210
* @return \PHPUnit_Framework_MockObject_MockObject
207211
*/

app/code/Magento/Theme/Test/Unit/Controller/Adminhtml/System/Design/Theme/IndexTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ public function testIndexAction()
1818
$menuModel = $this->getMock(
1919
\Magento\Backend\Model\Menu::class,
2020
[],
21-
[$this->getMock(\Psr\Log\LoggerInterface::class)]
21+
[$this->getMock(\Psr\Log\LoggerInterface::class)],
22+
'',
23+
false
2224
);
2325
$menuModel->expects($this->once())
2426
->method('getParentItems')

0 commit comments

Comments
 (0)