File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Test/Unit/Ui/DataProvider/Product/Form/Modifier
Ui/DataProvider/Product/Form/Modifier Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,11 @@ public function testModifyMetaLocked($locked)
99
99
->method ('isLockedAttribute ' )
100
100
->willReturn ($ locked );
101
101
$ modifyMeta = $ this ->getModel ()->modifyMeta ([AbstractModifier::DEFAULT_GENERAL_PANEL => []]);
102
- $ this ->assertEquals ($ locked ,
103
- $ modifyMeta [AbstractModifier::DEFAULT_GENERAL_PANEL ]['children ' ]['attribute_set_id ' ]['arguments ' ]['data ' ]['config ' ]['disabled ' ]);
102
+ $ children = $ modifyMeta [AbstractModifier::DEFAULT_GENERAL_PANEL ]['children ' ];
103
+ $ this ->assertEquals (
104
+ $ locked ,
105
+ $ children ['attribute_set_id ' ]['arguments ' ]['data ' ]['config ' ]['disabled ' ]
106
+ );
104
107
}
105
108
106
109
public function modifyMetaLockedDataProvider ()
Original file line number Diff line number Diff line change @@ -546,6 +546,7 @@ function ($value) use ($attributeOptionsExpected) {
546
546
547
547
/**
548
548
* @return array
549
+ * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
549
550
*/
550
551
public function setupAttributeMetaDataProvider ()
551
552
{
Original file line number Diff line number Diff line change 41
41
*
42
42
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
43
43
* @SuppressWarnings(PHPMD.TooManyFields)
44
+ * @SuppressWarnings(PHPMD.NPathComplexity)
44
45
* @since 101.0.0
45
46
*/
46
47
class Eav extends AbstractModifier
You can’t perform that action at this time.
0 commit comments