File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
lib/internal/Magento/Framework/Api/Test/Unit Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,17 @@ public function testToNestedArrayCustom()
83
83
AttributeValue::VALUE => 'custom_attribute_value_skip ' ,
84
84
],
85
85
],
86
+ 'test ' => [
87
+ 0 => [
88
+ '3rd_attribute_key ' => '3rd_attribute_value ' ,
89
+ AbstractExtensibleObject::CUSTOM_ATTRIBUTES_KEY => [
90
+ [
91
+ AttributeValue::ATTRIBUTE_CODE => 'another_custom_attribute_code ' ,
92
+ AttributeValue::VALUE => 'another_custom_attribute_value ' ,
93
+ ]
94
+ ]
95
+ ]
96
+ ]
86
97
];
87
98
88
99
$ resultArray = [
@@ -92,6 +103,12 @@ public function testToNestedArrayCustom()
92
103
'custom_attribute_value_multi_1 ' ,
93
104
'custom_attribute_value_multi_2 ' ,
94
105
],
106
+ 'test ' => [
107
+ 0 => [
108
+ '3rd_attribute_key ' => '3rd_attribute_value ' ,
109
+ 'another_custom_attribute_code ' => 'another_custom_attribute_value ' ,
110
+ ]
111
+ ]
95
112
];
96
113
97
114
$ this ->processor ->expects ($ this ->any ())
You can’t perform that action at this time.
0 commit comments