File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/code/Magento/Catalog/Test/Unit/Model Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ protected function setUp()
346
346
'mimeTypeExtensionMap ' => $ this ->mimeTypeExtensionMapMock ,
347
347
'imageProcessor ' => $ this ->imageProcessorMock ,
348
348
'extensionAttributesJoinProcessor ' => $ this ->extensionAttributesJoinProcessorMock ,
349
- 'mediaGalleryProcessor ' => $ this ->mediaGalleryProcessor
349
+ 'mediaGalleryProcessor ' => $ this ->mediaGalleryProcessor ,
350
350
]
351
351
);
352
352
}
@@ -1246,6 +1246,7 @@ public function testSaveExistingWithNewMediaGalleryEntries()
1246
1246
$ this ->mediaGalleryProcessor ->expects ($ this ->once ())->method ('addImage ' )
1247
1247
->with (self ::callback (function () use ($ imageFileUri , $ newEntriesData ) {
1248
1248
$ this ->initializedProductMock ->addData (['media_gallery ' => $ newEntriesData ]);
1249
+
1249
1250
return $ imageFileUri ;
1250
1251
}))
1251
1252
->willReturn ($ imageFileUri );
@@ -1376,7 +1377,7 @@ public function fieldName()
1376
1377
['category_id ' ],
1377
1378
['store ' ],
1378
1379
['website_id ' ],
1379
- ['field ' ]
1380
+ ['field ' ],
1380
1381
];
1381
1382
}
1382
1383
}
You can’t perform that action at this time.
0 commit comments