Skip to content

Commit 292a485

Browse files
committed
MAGETWO-92883: Category hierarchy isn't updated on Product Admin page
1 parent d78e604 commit 292a485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Category/RefreshPathTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ public function testExecute() : void
8383

8484
$categoryMock = $this->getMockBuilder(\Magento\Catalog\Model\Category::class)
8585
->disableOriginalConstructor()
86-
->setMethods(['getPath', 'getParentID', 'getResource'])
86+
->setMethods(['getPath', 'getParentId', 'getResource'])
8787
->getMock();
8888

8989
$categoryMock->expects($this->any())->method('getPath')->willReturn($value['path']);
90-
$categoryMock->expects($this->any())->method('getParentID')->willReturn($value['parentId']);
90+
$categoryMock->expects($this->any())->method('getParentId')->willReturn($value['parentId']);
9191

9292
$categoryResource = $this->createMock(\Magento\Catalog\Model\ResourceModel\Category::class);
9393

0 commit comments

Comments
 (0)