File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
app/code/Magento/Catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11
11
use Magento \Backend \Model \Auth \Session ;
12
12
use Magento \Catalog \Model \ResourceModel \Category \Collection as CategoryCollection ;
13
13
use Magento \Catalog \Model \ResourceModel \Category \CollectionFactory as CategoryCollectionFactory ;
14
- use Magento \Framework \App \CacheInterface ;
15
14
use Magento \Catalog \Ui \DataProvider \Product \Form \Modifier \Categories ;
15
+ use Magento \Framework \App \CacheInterface ;
16
16
use Magento \Framework \AuthorizationInterface ;
17
17
use Magento \Framework \DB \Helper as DbHelper ;
18
18
use Magento \Framework \UrlInterface ;
@@ -91,6 +91,9 @@ protected function setUp(): void
91
91
$ this ->categoryCollectionMock ->expects ($ this ->any ())
92
92
->method ('addAttributeToSelect ' )
93
93
->willReturnSelf ();
94
+ $ this ->categoryCollectionMock ->expects ($ this ->any ())
95
+ ->method ('addAttributeToSort ' )
96
+ ->willReturnSelf ();
94
97
$ this ->categoryCollectionMock ->expects ($ this ->any ())
95
98
->method ('addAttributeToFilter ' )
96
99
->willReturnSelf ();
You can’t perform that action at this time.
0 commit comments