File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ public function create()
146
146
'custom_attributes ' => $ this ->getCustomAttributes (),
147
147
'resized_image_width ' => $ imagesize [0 ],
148
148
'resized_image_height ' => $ imagesize [1 ],
149
+ 'product_id ' => $ this ->product ->getId ()
149
150
],
150
151
];
151
152
Original file line number Diff line number Diff line change @@ -252,6 +252,7 @@ private function getTestDataWithoutAttributes(): array
252
252
'custom_attributes ' => '' ,
253
253
'resized_image_width ' => 100 ,
254
254
'resized_image_height ' => 100 ,
255
+ 'product_id ' => null
255
256
],
256
257
],
257
258
];
@@ -286,6 +287,7 @@ private function getTestDataWithAttributes(): array
286
287
'custom_attributes ' => 'name_1="value_1" name_2="value_2" ' ,
287
288
'resized_image_width ' => 120 ,
288
289
'resized_image_height ' => 70 ,
290
+ 'product_id ' => null
289
291
],
290
292
],
291
293
];
You can’t perform that action at this time.
0 commit comments