File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Category Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,11 @@ public function testExecute() : void
83
83
84
84
$ categoryMock = $ this ->getMockBuilder (\Magento \Catalog \Model \Category::class)
85
85
->disableOriginalConstructor ()
86
- ->setMethods (['getPath ' , 'getParentID ' , 'getResource ' ])
86
+ ->setMethods (['getPath ' , 'getParentId ' , 'getResource ' ])
87
87
->getMock ();
88
88
89
89
$ 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 ' ]);
91
91
92
92
$ categoryResource = $ this ->createMock (\Magento \Catalog \Model \ResourceModel \Category::class);
93
93
You can’t perform that action at this time.
0 commit comments