We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6472ff7 commit 7d30fdbCopy full SHA for 7d30fdb
app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Product/CollectionTest.php
@@ -309,6 +309,8 @@ public function testAddMediaGalleryData()
309
$this->connectionMock->expects($this->once())->method('fetchAll')->with($selectMock)->willReturn(
310
[['row_id' => $rowId]]
311
);
312
+ $this->galleryReadHandlerMock->expects($this->once())->method('sortMediaEntriesByPosition')
313
+ ->willReturn($mediaGalleriesMock);
314
$this->galleryReadHandlerMock->expects($this->once())->method('addMediaDataToProduct')
315
->with($itemMock, $mediaGalleriesMock);
316
0 commit comments