File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
app/code/Magento/Catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 10
10
use Magento \Catalog \Ui \DataProvider \Product \Form \Modifier \Categories ;
11
11
use Magento \Catalog \Model \ResourceModel \Category \CollectionFactory as CategoryCollectionFactory ;
12
12
use Magento \Catalog \Model \ResourceModel \Category \Collection as CategoryCollection ;
13
- use Magento \Framework \App \CacheInterface ;
14
13
use Magento \Framework \DB \Helper as DbHelper ;
15
14
use Magento \Framework \UrlInterface ;
16
15
use Magento \Store \Model \Store ;
@@ -161,7 +160,14 @@ public function testModifyMetaLocked($locked)
161
160
->willReturnArgument (2 );
162
161
163
162
$ modifyMeta = $ this ->createModel ()->modifyMeta ($ meta );
164
- $ this ->assertEquals ($ locked , $ modifyMeta ['arguments ' ]['data ' ]['config ' ]['disabled ' ]);
163
+ $ this ->assertEquals (
164
+ $ locked ,
165
+ $ modifyMeta ['children ' ]['category_ids ' ]['arguments ' ]['data ' ]['config ' ]['disabled ' ]
166
+ );
167
+ $ this ->assertEquals (
168
+ $ locked ,
169
+ $ modifyMeta ['children ' ]['create_category_button ' ]['arguments ' ]['data ' ]['config ' ]['disabled ' ]
170
+ );
165
171
}
166
172
167
173
/**
You can’t perform that action at this time.
0 commit comments