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 a8892e7 commit b1a733bCopy full SHA for b1a733b
app/code/Magento/Catalog/Test/Unit/Model/Product/Image/RemoveDeletedImagesFromCacheTest.php
@@ -120,8 +120,8 @@ public function testRemoveDeletedImagesFromCache($data)
120
->willReturn($this->viewMock);
121
122
$this->viewMock->expects($this->once())
123
- ->method('getMediaAttributes')
124
- ->willReturn($data['viewImageConfig']);
+ ->method('getMediaEntities')
+ ->willReturn([$data['viewImageConfig']]);
125
126
$this->imageParamsBuilder->expects($this->once())
127
->method('build')
0 commit comments